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!

IInheritanceService.GetInheritanceAttribute

Gets the inheritance attribute of the specified component. If the component is not being inherited, this method will return the value System.ComponentModel.InheritanceAttribute.NotInherited. Otherwise it will return the inheritance attribute for this component.

[Visual Basic]
Function GetInheritanceAttribute( _
   ByVal component As IComponent _
) As InheritanceAttribute
[C#]
InheritanceAttribute GetInheritanceAttribute(
   IComponent component
);
[C++]
InheritanceAttribute* GetInheritanceAttribute(
   IComponent* component
) = 0;
[JScript]
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

IInheritanceService Interface | IInheritanceService Members | System.ComponentModel.Design Namespace | System.WinForms.Design.InheritanceAttribute