Redigera

Dela via


ItemCollection.MoveCurrentTo(Object) Method

Definition

Sets the specified item in the collection as the CurrentItem.

public:
 override bool MoveCurrentTo(System::Object ^ item);
public override bool MoveCurrentTo (object item);
override this.MoveCurrentTo : obj -> bool
Public Overrides Function MoveCurrentTo (item As Object) As Boolean

Parameters

item
Object

The item to set as the CurrentItem.

Returns

true to indicate that the resulting CurrentItem is an item within the view; otherwise, false.

Applies to

See also