ICollectionView.MoveCurrentTo(Object) ICollectionView.MoveCurrentTo(Object) ICollectionView.MoveCurrentTo(Object) ICollectionView.MoveCurrentTo(Object) Method

Definition

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

public:
 bool MoveCurrentTo(System::Object ^ item);
public bool MoveCurrentTo (object item);
abstract member MoveCurrentTo : obj -> bool
Public Function MoveCurrentTo (item As Object) As Boolean

Parameters

item
Object Object Object Object

The item to set as the CurrentItem.

Returns

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

Applies to

See also