Bewerken

Delen via


ConstContainerRandomAccessIterator<TValue>.move(Int32) Method

Definition

Moves the iterator by the given number of elements.

public:
 virtual int move(int _Offset);
public virtual int move (int _Offset);
abstract member move : int -> int
override this.move : int -> int
Public Overridable 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.

Implements

Applies to