SearchResultEntryCollection.IndexOf(SearchResultEntry) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.