共用方式為


ICollectionView.MoveCurrentTo(Object) 方法

定義

將指定的專案設定為檢視中的 CurrentItem

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

參數

item
Object

Platform::Object

IInspectable

要設定為 CurrentItem的專案。

傳回

Boolean

bool

如果產生的CurrentItem位於檢視中,則為true;否則為false

適用於