InheritanceService::AddInheritedComponents Method (IComponent^, IContainer^)
.NET Framework (current version)
Adds the components inherited by the specified component to the InheritanceService.
Assembly: System.Design (in System.Design.dll)
public: virtual void AddInheritedComponents( IComponent^ component, IContainer^ container ) sealed
Parameters
- component
-
Type:
System.ComponentModel::IComponent^
The component to search for inherited components to add to the specified container.
- container
-
Type:
System.ComponentModel::IContainer^
The container to add the inherited components to.
This method searches all the fields of all base classes of the specified component. Each field that implements IComponent is added to the specified container.
.NET Framework
Available since 1.1
Available since 1.1
Show: