Share via


Inherited Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public Property Inherited As Boolean
public bool Inherited { get; set; }
public:
property bool Inherited {
    bool get ();
    void set (bool value);
}
member Inherited : bool with get, set
function get Inherited () : boolean
function set Inherited (value : boolean)

Property Value

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

.NET Framework Security

See Also

Reference

AttributeUsageAttribute Class

System Namespace