Sdílet prostřednictvím


SearchResultReferenceCollection.IndexOf(SearchResultReference) Metoda

Definice

Metoda IndexOf(SearchResultReference) vrátí index založený na nule prvního výskytu zadaného SearchResultReference objektu v 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

Parametry

value
SearchResultReference

Objekt SearchResultReference , pro který je vrácen index.

Návraty

Hodnota indexu zadaného SearchResultReference objektu, pokud je nalezena. Pokud objekt není nalezen, vrátí tato metoda -1.

Platí pro