ערוך

שתף באמצעות


Int32Collection.IndexOf(Int32) Method

Definition

Searches for the specified Int32 and returns the zero-based index of the first occurrence within the entire collection.

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

Parameters

value
Int32

The Int32 to locate in the collection.

Returns

The zero-based index of the first occurrence of value within the entire collection, if found; otherwise, -1.

Implements

Applies to

See also