IInheritanceService Rozhraní

Definice

Poskytuje metody pro identifikaci komponent.

public interface class IInheritanceService
public interface IInheritanceService
type IInheritanceService = interface
Public Interface IInheritanceService
Odvozené

Poznámky

Toto rozhraní poskytuje metody, které lze použít k identifikaci komponent komponenty, které jsou zděděné ze základní třídy.

Chcete-li zjistit, které komponenty jsou zděděné, zavolejte metodu AddInheritedComponents a předejte komponentu pro vyhledávání a IContainer uložení odkazů na identifikované komponenty. GetInheritanceAttribute Voláním metody načtěte komponentuInheritanceAttribute, která byla identifikovaná metodouAddInheritedComponents.

Metody

Name Description
AddInheritedComponents(IComponent, IContainer)

Vyhledá zadanou komponentu pro pole, která implementují IComponent rozhraní, a přidá je do zadaného kontejneru a uloží úroveň dědičnosti každého, který lze načíst pomocí GetInheritanceAttribute(IComponent) metody.

GetInheritanceAttribute(IComponent)

Získá atribut dědičnosti pro zadanou komponentu.

Platí pro

Viz také