DirectoryAttributeModificationCollection.Add Method (DirectoryAttributeModification)


The Add method adds a DirectoryAttributeModification object to the collection.

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

public int Add(
	DirectoryAttributeModification attribute

Return Value

Type: System.Int32

The zero-based index in the collection where the DirectoryAttributeModification was added.

Exception Condition

attribute is a null reference (Nothing in Visual Basic).

.NET Framework
Available since 2.0
Return to top