Export (0) Print
Expand All

AttributeUsageAttribute.Inherited Property

Gets or sets a Boolean value indicating whether the indicated attribute can be inherited by derived classes and overriding members.

[Visual Basic]
Public Property Inherited As Boolean
[C#]
public bool Inherited {get; set;}
[C++]
public: __property bool get_Inherited();
public: __property void set_Inherited(bool);
[JScript]
public function get Inherited() : Boolean;
public function set Inherited(Boolean);

Property Value

true if the attribute can be inherited by derived classes and overriding members; otherwise, false. The default is true.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

AttributeUsageAttribute Class | AttributeUsageAttribute Members | System Namespace | Attribute

Show:
© 2015 Microsoft