Export (0) Print
Expand All

IInheritanceService Interface

Provides methods for identifying the components of a component.

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

public interface IInheritanceService

The IInheritanceService type exposes the following members.

  NameDescription
Public methodAddInheritedComponentsSearches 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.
Public methodGetInheritanceAttributeGets the inheritance attribute for the specified component.
Top

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

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft