PartialResultsCollection.IndexOf(Object) Method

Definition

The IndexOf(Object) method returns the zero-based index of the first occurrence of the specified Object in the PartialResultsCollection.

public:
 int IndexOf(System::Object ^ value);
public int IndexOf (object value);
member this.IndexOf : obj -> int
Public Function IndexOf (value As Object) As Integer

Parameters

value
Object

The Object for which the index is returned.

Returns

The index value of the specified Object, if found, or -1 if the specified object is not found.

Applies to