MoveCurrentToPosition Method
In This Topic
Sets the item at the specified index to be the
CurrentItem in the view.
Syntax
'Declaration
Public Function MoveCurrentToPosition( _
ByVal As Integer _
) As Boolean
public bool MoveCurrentToPosition(
int
)
Parameters
- position
- The index to set the System.ComponentModel.ICollectionView.CurrentItem to.
Return Value
true if the resulting
CurrentItem is an item within the view; otherwise, false.
See Also