Επεξεργασία

Κοινή χρήση μέσω


DirectoryAttributeModificationCollection.IndexOf Method

Definition

The IndexOf(DirectoryAttributeModification) method returns the zero-based index of the first occurrence of the specified DirectoryAttributeModification object in the DirectoryAttributeModificationCollection.

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

Parameters

value
DirectoryAttributeModification

The DirectoryAttributeModificationCollection object for which the index is returned.

Returns

The index value of the specified DirectoryAttributeModification object, if found; otherwise, -1.

Applies to