Export (0) Print
Expand All

DirectoryAttribute.Add Method (String)

The Add method adds the specified value to this attribute.

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

public int Add(
	string value
)

Parameters

value
Type: System.String

The value to add.

Return Value

Type: System.Int32
The index at which the value has been added.

ExceptionCondition
ArgumentNullException

Value contains a null reference (Nothing in Visual Basic).

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft