Share via


MobileServiceCollectionView<T>.MoveCurrentToPosition Method

Sets the specified position as the current item in the collection view.

Namespace:  Microsoft.WindowsAzure.MobileServices
Assembly:  Microsoft.WindowsAzure.MobileServices.Managed (in Microsoft.WindowsAzure.MobileServices.Managed.dll)

Syntax

'Declaration
Public Function MoveCurrentToPosition ( _
    index As Integer _
) As Boolean
'Usage
Dim instance As MobileServiceCollectionView 
Dim index As Integer 
Dim returnValue As Boolean 

returnValue = instance.MoveCurrentToPosition(index)
public bool MoveCurrentToPosition(
    int index
)
public:
virtual bool MoveCurrentToPosition(
    int index
) sealed
abstract MoveCurrentToPosition : 
        index:int -> bool  
override MoveCurrentToPosition : 
        index:int -> bool
public final function MoveCurrentToPosition(
    index : int
) : boolean

Parameters

Return Value

Type: System.Boolean
A value indicating whether the current item is within the collection view.

Implements

ICollectionViewMoveCurrentToPosition(Int32)

See Also

Reference

MobileServiceCollectionView<T> Class

Microsoft.WindowsAzure.MobileServices Namespace