ContainerRandomAccessIterator<'TValue>.move Method (Int32)

 

Moves the iterator by the given number of elements.

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

abstract move : 
        _Offset:int -> int
override move : 
        _Offset:int -> int

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: