InheritanceService.GetInheritanceAttribute(IComponent) Метод

Определение

Возвращает атрибут наследования указанного компонента.

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

Параметры

component
IComponent

Компонент, для которого требуется получить атрибут наследования.

Возвращаемое значение

Значение, InheritanceAttribute описывающее уровень наследования этого компонента.

Реализации

Комментарии

Если компонент не наследуется, этот метод возвращает значение NotInherited. В противном случае он возвращает атрибут наследования для этого компонента.

Применяется к

См. также раздел