AttributeUsageAttribute.AllowMultiple Property
Gets or sets a Boolean value that indicates whether you can specify more than one instance of the specified attribute for a single program element.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Syntax
public bool AllowMultiple { get; set; }
Property Value
true if you can specify more than one instance of the attribute; otherwise, false. The default return value is false.
Remarks
An attribute that you can specify more than once for a program element is called a multiuse attribute. An attribute that you can specify only once is called a single-use attribute.
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