InheritanceService.GetInheritanceAttribute(IComponent) Methode

Definition

Ruft das Vererbungsattribut der angegebenen Komponente ab.

public:
 virtual System::ComponentModel::InheritanceAttribute ^ GetInheritanceAttribute(System::ComponentModel::IComponent ^ component);
public System.ComponentModel.InheritanceAttribute GetInheritanceAttribute (System.ComponentModel.IComponent component);
abstract member GetInheritanceAttribute : System.ComponentModel.IComponent -> System.ComponentModel.InheritanceAttribute
override this.GetInheritanceAttribute : System.ComponentModel.IComponent -> System.ComponentModel.InheritanceAttribute
Public Function GetInheritanceAttribute (component As IComponent) As InheritanceAttribute

Parameter

component
IComponent

Die Komponente, deren Vererbungsattribut abgerufen werden soll.

Gibt zurück

Ein InheritanceAttribute, das die Vererbungsebene beschreibt, der diese Komponente entstammt.

Implementiert

Hinweise

Wenn die Komponente nicht geerbt wird, gibt diese Methode den Wert NotInheritedzurück. Andernfalls wird das Vererbungsattribut für diese Komponente zurückgegeben.

Gilt für:

Weitere Informationen