Επεξεργασία

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


IRandomAccessIterator<TValue>.move(Int32) Method

Definition

Moves the iterator by the given number of elements.

public:
 int move(int _Offset);
public int move (int _Offset);
abstract member move : int -> int
Public Function move (_Offset As Integer) As Integer

Parameters

_Offset
Int32

The number of elements to traverse. To move the iterator forward, specify a positive number. To move the iterator backward, use a negative number.

Returns

The actual number of elements traversed. This number will differ from _Offset if the beginning or end of the container is reached before iterating the desired number of elements.

Applies to