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