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 .NET Micro Framework version 2.0, 2.5
See Also
Reference
AttributeUsageAttribute Class
AttributeUsageAttribute Members
System Namespace