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 );
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.
IInheritanceService Interface | IInheritanceService Members | System.ComponentModel.Design Namespace