ValidOn Property

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

Gets a set of values identifying which program elements that the indicated attribute can be applied to.

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

public AttributeTargets ValidOn { get; }

Property Value

Type: System..::..AttributeTargets
One or several AttributeTargets values. The default is All.

Show: