NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

InheritanceService.GetInheritanceAttribute

Retrieves the inheritance attribute of the given component. If the component is not being inherited, this will return the value NotInherited. Otherwise it will return the inheritance attribute for this component.

[Visual Basic]
Overridable Public Function GetInheritanceAttribute( _
   ByVal component As IComponent _
) As InheritanceAttribute
[C#]
public virtual InheritanceAttribute GetInheritanceAttribute(
   IComponent component
);
[C++]
public: virtual InheritanceAttribute* GetInheritanceAttribute(
   IComponent* component
);
[JScript]
public function GetInheritanceAttribute(
   component : IComponent
) : InheritanceAttribute;

Parameters

component
The component to retrieve the inheritance attribute for.

Return Value

An instance of InheritanceAttribute that describes what level of inheritance this component comes from.

See Also

InheritanceService Class | InheritanceService Members | System.ComponentModel.Design Namespace | InheritanceAttribute | IInheritanceService