Share via


IPeekResultCollection.Move(Int32, Int32) Method

Definition

Moves the result at the specified index to a new location in the collection.

public:
 void Move(int oldIndex, int newIndex);
public:
 void Move(int oldIndex, int newIndex);
void Move(int oldIndex, int newIndex);
public void Move (int oldIndex, int newIndex);
abstract member Move : int * int -> unit
Public Sub Move (oldIndex As Integer, newIndex As Integer)

Parameters

oldIndex
Int32

The zero-based index specifying the location of the result to be moved.

newIndex
Int32

The zero-based index specifying the new location of the result.

Remarks

This method inserts the result in the new location.

Applies to