Edit

Share via


ReferenceList.IndexOf(Object) Method

Definition

Determines the index of a specific item in the ReferenceList collection.

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

Parameters

value
Object

The DataReference or KeyReference object to locate in the ReferenceList collection.

Returns

The index of value if found in the collection; otherwise, -1.

Implements

Applies to