InheritanceService::AddInheritedComponents Method (IComponent^, IContainer^)

 

Adds the components inherited by the specified component to the InheritanceService.

Namespace:   System.ComponentModel.Design
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
Return to top
Show: