Düzenle

Aracılığıyla paylaş


SearchResultReferenceCollection.IndexOf(SearchResultReference) Method

Definition

The IndexOf(SearchResultReference) method returns the zero-based index of the first occurrence of the specified SearchResultReference object in SearchResultReferenceCollection.

public:
 int IndexOf(System::DirectoryServices::Protocols::SearchResultReference ^ value);
public int IndexOf (System.DirectoryServices.Protocols.SearchResultReference value);
member this.IndexOf : System.DirectoryServices.Protocols.SearchResultReference -> int
Public Function IndexOf (value As SearchResultReference) As Integer

Parameters

value
SearchResultReference

The SearchResultReference object for which the index is returned.

Returns

The index value of the specified SearchResultReference object, if found. If the object is not found, this method returns -1.

Applies to