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;
An instance of InheritanceAttribute that describes what level of inheritance this component comes from.
IInheritanceService Interface | IInheritanceService Members | System.ComponentModel.Design Namespace | System.WinForms.Design.InheritanceAttribute