DirectoryAttributeModificationCollection.IndexOf Methode

Definition

Die IndexOf(DirectoryAttributeModification) Methode gibt den nullbasierten Index des ersten Vorkommens des angegebenen DirectoryAttributeModification Objekts in der 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

Parameter

value
DirectoryAttributeModification

Das DirectoryAttributeModificationCollection Objekt, für das der Index zurückgegeben wird.

Gibt zurück

Der Indexwert des angegebenen DirectoryAttributeModification Objekts, falls gefunden; andernfalls -1.

Gilt für: