IInheritanceService Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides methods for identifying the components of a component.
public interface class IInheritanceService
public interface IInheritanceService
type IInheritanceService = interface
Public Interface IInheritanceService
- Derived
Remarks
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.
Methods
AddInheritedComponents(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(IComponent) method. |
GetInheritanceAttribute(IComponent) |
Gets the inheritance attribute for the specified component. |
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om