AttributeCollection Constructor (array<Attribute^>^)
.NET Framework (current version)
Initializes a new instance of the AttributeCollection class.
Assembly: System (in System.dll)
| Exception | Condition |
|---|---|
| ArgumentNullException | attributes is null. |
The following code example creates a new AttributeCollection using the attributes on button1. It assumes that button1 has been created on a form.
.NET Framework
Available since 1.1
Available since 1.1
Show: