ICollectionView.MoveCurrentTo(Object) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將指定的項目設定為視圖中的 。CurrentItem
public:
bool MoveCurrentTo(System::Object ^ item);
public bool MoveCurrentTo(object item);
abstract member MoveCurrentTo : obj -> bool
Public Function MoveCurrentTo (item As Object) As Boolean
參數
- item
- Object
要設定為 CurrentItem的項目。
傳回
true 若結果 CurrentItem 在視圖範圍內;否則, false。