SearchResultEntryCollection.IndexOf(SearchResultEntry) Metodo

Definizione

Il metodo IndexOf(SearchResultEntry) restituisce l'indice in base zero della prima occorrenza dell'oggetto SearchResultEntry specificato in SearchResultEntryCollection.The IndexOf(SearchResultEntry) method returns the zero-based index of the first occurrence of the specified SearchResultEntry object in 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

Parametri

value
SearchResultEntry

Oggetto SearchResultEntry per il quale viene restituito l'indice.The SearchResultEntry object for which the index is returned.

Restituisce

Valore di indice dell'oggetto SearchResultEntry specificato, se presente; in caso contrario, -1.The index value of the specified SearchResultEntry object, if found, or -1 if it was not found.

Si applica a