Bewerken

Share via


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
InheritanceService
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()

Initializes a new instance of the InheritanceService class.

Methods

AddInheritedComponents(IComponent, IContainer)

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

AddInheritedComponents(Type, IComponent, IContainer)

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

Dispose()

Releases all resources used by the InheritanceService.

Dispose(Boolean)

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

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetInheritanceAttribute(IComponent)

Gets the inheritance attribute of the specified component.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
IgnoreInheritedMember(MemberInfo, IComponent)

Indicates whether to ignore the specified member.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also