InheritanceService.GetInheritanceAttribute(IComponent) Metodo

Definizione

Ottiene l'attributo di ereditarietà del componente specificato.

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

Parametri

component
IComponent

Componente per cui recuperare l'attributo di ereditarietà.

Valori restituiti

Oggetto InheritanceAttribute che descrive il livello di ereditarietà da cui proviene questo componente.

Implementazioni

Commenti

Se il componente non viene ereditato, questo metodo restituisce il valore NotInherited. In caso contrario, restituisce l'attributo di ereditarietà per questo componente.

Si applica a

Vedi anche