Share via


AttributeUsageAttribute.Inherited Property

Gets or sets a Boolean value that indicates whether the specified attribute can be inherited by derived classes and overriding members.

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

Syntax

public bool Inherited { get; set; }

Property Value

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

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

AttributeUsageAttribute Class
AttributeUsageAttribute Members
System Namespace