Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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 void AddInheritedComponents(
	IComponent component,
	IContainer container


Type: System.ComponentModel.IComponent

The component to search for inherited components to add to the specified container.

Type: System.ComponentModel.IContainer

The container to add the inherited components to.


IInheritanceService.AddInheritedComponents(IComponent, IContainer)

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
© 2015 Microsoft