InheritanceService::GetInheritanceAttribute Method (IComponent^)

 

Gets the inheritance attribute of the specified component.

Namespace:   System.ComponentModel.Design
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
Return to top
Show: