AttributeUsageAttribute.ValidOn Property
Gets a set of values that indicate which program elements you can apply the specified attribute to.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Syntax
public AttributeTargets ValidOn { get; }
Property Value
One or more AttributeTargets values. The default return value is All.
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