IInheritanceService Interface

 

Provides methods for identifying the components of a component.

Namespace:   System.ComponentModel.Design
Assembly:  System (in System.dll)

public interface class IInheritanceService

NameDescription
System_CAPS_pubmethodAddInheritedComponents(IComponent^, IContainer^)

Searches the specified component for fields that implement the IComponent interface and adds each to the specified container, storing the inheritance level of each which can be retrieved using the GetInheritanceAttribute method.

System_CAPS_pubmethodGetInheritanceAttribute(IComponent^)

Gets the inheritance attribute for the specified component.

This interface provides methods that can be used to identify components of a component that are inherited from a base class.

To determine what components are inherited, call the AddInheritedComponents method and pass the component to search and an IContainer to store references to the identified components. Call the GetInheritanceAttribute method to retrieve an InheritanceAttribute for a component that has been identified by the AddInheritedComponents method.

.NET Framework
Available since 1.1
Return to top
Show: