The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
DirectoryAttribute Constructor (String^, array<Object^>^)
.NET Framework (current version)
The DirectoryAttribute constructor creates an instance of the DirectoryAttribute class using the specified attribute name and values.
Assembly: System.DirectoryServices.Protocols (in System.DirectoryServices.Protocols.dll)
Parameters
- name
-
Type:
System::String^
The attribute name.
- values
-
Type:
array<System::Object^>^
An array of values for the attribute.
| Exception | Condition |
|---|---|
| ArgumentNullException | name or value contains a null reference (Nothing in Visual Basic). |
| ArgumentException | An element of values is not of type string, byte[], or Uri. |
.NET Framework
Available since 2.0
Available since 2.0
Show: