ContainerRandomAccessIterator(Of TValue).move Method (Int32)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Moves the iterator by the given number of elements.

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

Public Overridable Function move (
	_Offset As Integer
) As Integer


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