move Method
Collapse the table of content
Expand the table of content

IRandomAccessIterator<TValue>::move Method (Int32)

.NET Framework (current version)
 

Moves the iterator by the given number of elements.

Namespace:   Microsoft.VisualC.StlClr.Generic
Assembly:  Microsoft.VisualC.STLCLR (in Microsoft.VisualC.STLCLR.dll)

int move(
	int _Offset
)

Parameters

_Offset
Type: System::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.

Return Value

Type: System::Int32

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.

.NET Framework
Available since 3.5
Return to top
Show:
© 2016 Microsoft