InheritanceService::GetInheritanceAttribute Method (IComponent^)
.NET Framework (current version)
Gets the inheritance attribute of the specified component.
Assembly: System.Design (in System.Design.dll)
public: virtual InheritanceAttribute^ GetInheritanceAttribute( IComponent^ component ) sealed
Parameters
- component
-
Type:
System.ComponentModel::IComponent^
The component to retrieve the inheritance attribute for.
Return Value
Type: System.ComponentModel::InheritanceAttribute^An InheritanceAttribute that describes the level of inheritance that this component comes from.
If the component is not inherited, this method returns the value NotInherited. Otherwise, it returns the inheritance attribute for this component.
.NET Framework
Available since 1.1
Available since 1.1
Show: