Windows apps
Collapse the table of content
Expand the table of content
Information
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^>^)

 

The DirectoryAttribute constructor creates an instance of the DirectoryAttribute class using the specified attribute name and values.

Namespace:   System.DirectoryServices.Protocols
Assembly:  System.DirectoryServices.Protocols (in System.DirectoryServices.Protocols.dll)

public:
DirectoryAttribute(
	String^ name,
	... array<Object^>^ values
)

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
Return to top
Show:
© 2017 Microsoft