Share via


ICollectionView.MoveCurrentTo(Object) Méthode

Définition

Définit l’élément spécifié comme CurrentItem dans la vue.

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

Paramètres

item
Object

Platform::Object

IInspectable

Élément à définir comme CurrentItem.

Retours

Boolean

bool

true si l’objet CurrentItem résultant se trouve dans la vue ; sinon, false.

S’applique à