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!

InheritanceService.AddInheritedComponents (Type, IComponent, IContainer)

This method walks all the fields of all base classes of component. Each field that implements IComponent is added to an internal list that stores an InheritanceAttribute that identifies the inheritance level of the component. The component is then added to the given container.

[Visual Basic]
Overloads Overridable Protected Sub AddInheritedComponents( _
   ByVal type As Type, _
   ByVal component As IComponent, _
   ByVal container As IContainer _
)
[C#]
protected virtual void AddInheritedComponents(
   Type type,
   IComponent component,
   IContainer container
);
[C++]
protected: virtual void AddInheritedComponents(
   Type* type,
   IComponent* component,
   IContainer* container
);
[JScript]
protected function AddInheritedComponents(
   type : Type,
   component : IComponent,
   container : IContainer
);

Parameters

type
The base type to begin searching.
component
The component to search. This will begin searching the base class of the component.
container
The container to add inherited components to.

See Also

InheritanceService Class | InheritanceService Members | System.ComponentModel.Design Namespace | InheritanceService.AddInheritedComponents Overload List