DirectoryAttributeCollection.IndexOf(DirectoryAttribute) Metod

Definition

Metoden IndexOf(DirectoryAttribute) returnerar det nollbaserade indexet för den första förekomsten av det angivna DirectoryAttribute objektet i 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

Parametrar

value
DirectoryAttribute

Det DirectoryAttribute objekt som indexet returneras för.

Returer

Indexvärdet för det angivna DirectoryAttribute objektet, om det hittas, annars -1.

Gäller för