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 );
InheritanceService Class | InheritanceService Members | System.ComponentModel.Design Namespace | InheritanceService.AddInheritedComponents Overload List