DirectoryAttributeCollection.IndexOf(DirectoryAttribute) Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
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.