NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IInheritanceService.AddInheritedComponents

Adds inherited components from the specified component to the specified container.

[Visual Basic]
Sub AddInheritedComponents( _
   ByVal component As IComponent, _
   ByVal container As IContainer _
)
[C#]
void AddInheritedComponents(
   IComponent component,
   IContainer container
);
[C++]
void AddInheritedComponents(
   IComponent* component,
   IContainer* container
) = 0;
[JScript]
function AddInheritedComponents(
   component : IComponent,
   container : IContainer
);

Parameters

component
The component to search. Searching will begin with this component.
container
The container to add inherited components to.

Remarks

This method walks all the fields of all base classes of the specified component. Each field that implements IComponent is added to the specified container.

See Also

IInheritanceService Interface | IInheritanceService Members | System.ComponentModel.Design Namespace