Editar

Partilhar via


DirectoryAttributeModificationCollection.Add Method

Definition

The Add(DirectoryAttributeModification) method adds a DirectoryAttributeModification object to the collection.

public:
 int Add(System::DirectoryServices::Protocols::DirectoryAttributeModification ^ attribute);
public int Add (System.DirectoryServices.Protocols.DirectoryAttributeModification attribute);
member this.Add : System.DirectoryServices.Protocols.DirectoryAttributeModification -> int
Public Function Add (attribute As DirectoryAttributeModification) As Integer

Parameters

Returns

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

Exceptions

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

Applies to