Επεξεργασία

Κοινή χρήση μέσω


PrincipalValueCollection<T>.IndexOf(T) Method

Definition

Returns the index of the specified object, or -1 if the object is not in the collection.

public:
 virtual int IndexOf(T value);
public int IndexOf (T value);
abstract member IndexOf : 'T -> int
override this.IndexOf : 'T -> int
Public Function IndexOf (value As T) As Integer

Parameters

value
T

The object whose index is required.

Returns

An integer.

Implements

Remarks

Throws an ArgumentNullException if value is null.

Applies to