DirectoryAttribute Constructor (String, String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

public DirectoryAttribute(
	string name,
	string value
)

Parameters

name
Type: System.String

The attribute name.

value
Type: System.String

The attribute value.

Exception Condition
ArgumentNullException

name or value contains a null reference (Nothing in Visual Basic).

.NET Framework
Available since 2.0
Return to top
Show: