ItemCollection.MoveCurrentTo(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.