SearchResultEntryCollection.IndexOf(SearchResultEntry) 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(SearchResultEntry) returnerar det nollbaserade indexet för den första förekomsten av det angivna SearchResultEntry objektet i SearchResultEntryCollection.
public:
int IndexOf(System::DirectoryServices::Protocols::SearchResultEntry ^ value);
public int IndexOf(System.DirectoryServices.Protocols.SearchResultEntry value);
member this.IndexOf : System.DirectoryServices.Protocols.SearchResultEntry -> int
Public Function IndexOf (value As SearchResultEntry) As Integer
Parametrar
- value
- SearchResultEntry
Det SearchResultEntry objekt som indexet returneras för.
Returer
Indexvärdet för det angivna SearchResultEntry objektet, om det hittas eller -1 om det inte hittades.