Editar

Partilhar via


SearchResultEntryCollection.IndexOf(SearchResultEntry) Method

Definition

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

Parameters

value
SearchResultEntry

The SearchResultEntry object for which the index is returned.

Returns

The index value of the specified SearchResultEntry object, if found, or -1 if it was not found.

Applies to