InheritanceService Class

 

Provides a set of methods for identifying inherited components.

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

System::Object
  System.ComponentModel.Design::InheritanceService

public ref class InheritanceService : IInheritanceService, IDisposable

NameDescription
System_CAPS_pubmethodInheritanceService()

Initializes a new instance of the InheritanceService class.

NameDescription
System_CAPS_pubmethodAddInheritedComponents(IComponent^, IContainer^)

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

System_CAPS_protmethodAddInheritedComponents(Type^, IComponent^, IContainer^)

Adds the components of the specified type that are inherited by the specified component to the InheritanceService.

System_CAPS_pubmethodDispose()

Releases all resources used by the InheritanceService.

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by the InheritanceService and optionally releases the managed resources.

System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetInheritanceAttribute(IComponent^)

Gets the inheritance attribute of the specified component.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodIgnoreInheritedMember(MemberInfo^, IComponent^)

Indicates whether to ignore the specified member.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

The InheritanceService can be used to find inherited components, select which ones to ignore, and retrieve the inheritance attribute of each inherited class that is tracked by the service.

.NET Framework
Available since 1.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: