Dela via


ICollectionView.MoveCurrentTo(Object) Method

Definition

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

public:
 bool MoveCurrentTo(Platform::Object ^ item);
bool MoveCurrentTo(IInspectable const& item);
public bool MoveCurrentTo(object item);
function moveCurrentTo(item)
Public Function MoveCurrentTo (item As Object) As Boolean

Parameters

item
Object

Platform::Object

IInspectable

The item to set as the CurrentItem.

Returns

Boolean

bool

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

Applies to