Sets the item at the specified index to be the CurrentItem in the view.

Namespace:  C1.Data.DataSource
Assembly:  C1.Data.Entity (in C1.Data.Entity.dll)

Syntax

C#
public bool MoveCurrentToPosition(
	int position
)
Visual Basic
Public Function MoveCurrentToPosition ( _
	position As Integer _
) As Boolean

Parameters

position
Type: System..::..Int32
The index to set the CurrentItem to.

Return Value

true if the resulting CurrentItem is an item within the view; otherwise, false.

Implements

ICollectionView..::..MoveCurrentToPosition(Int32)

See Also