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: