InheritanceService InheritanceService InheritanceService InheritanceService Class

Definition

Provides a set of methods for identifying inherited components.

public ref class InheritanceService : IDisposable, System::ComponentModel::Design::IInheritanceService
public class InheritanceService : IDisposable, System.ComponentModel.Design.IInheritanceService
type InheritanceService = class
    interface IInheritanceService
    interface IDisposable
Public Class InheritanceService
Implements IDisposable, IInheritanceService
Inheritance
InheritanceServiceInheritanceServiceInheritanceServiceInheritanceService
Implements

Remarks

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.

Constructors

InheritanceService() InheritanceService() InheritanceService() InheritanceService()

Initializes a new instance of the InheritanceService class.

Methods

AddInheritedComponents(IComponent, IContainer) AddInheritedComponents(IComponent, IContainer) AddInheritedComponents(IComponent, IContainer) AddInheritedComponents(IComponent, IContainer)

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

AddInheritedComponents(Type, IComponent, IContainer) AddInheritedComponents(Type, IComponent, IContainer) AddInheritedComponents(Type, IComponent, IContainer) AddInheritedComponents(Type, IComponent, IContainer)

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

Dispose() Dispose() Dispose() Dispose()

Releases all resources used by the InheritanceService.

Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

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

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetInheritanceAttribute(IComponent) GetInheritanceAttribute(IComponent) GetInheritanceAttribute(IComponent) GetInheritanceAttribute(IComponent)

Gets the inheritance attribute of the specified component.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
IgnoreInheritedMember(MemberInfo, IComponent) IgnoreInheritedMember(MemberInfo, IComponent) IgnoreInheritedMember(MemberInfo, IComponent) IgnoreInheritedMember(MemberInfo, IComponent)

Indicates whether to ignore the specified member.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See Also