ConstContainerRandomAccessIterator<TValue>.move(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.