Constructs and initializes a new instance of the AttributeUsageAttribute class.
- validOn
- The set of application elements to which the attribute will be applied. When indicating multiple application elements, validOn is a bitwise OR combination of AttributeTargets enumeration values.
The new instance will be constructed with the specified value of validOn and the properties AttributeUsageAttribute.AllowMultiple and AttributeUsageAttribute.Inherited set to their default values (false and true respectively).
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0