DirectoryAttributeCollection.IndexOf(DirectoryAttribute) Methode

Definitie

De IndexOf(DirectoryAttribute) methode retourneert de op nul gebaseerde index van het eerste exemplaar van het opgegeven DirectoryAttribute object in de DirectoryAttributeCollection.

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

Parameters

value
DirectoryAttribute

Het DirectoryAttribute object waarvoor de index wordt geretourneerd.

Retouren

De indexwaarde van het opgegeven DirectoryAttribute object, indien gevonden; anders -1.

Van toepassing op