Udostępnij za pośrednictwem


RemoteCollectionChanges.Move(Int32, Int32, Int32) Method

Definition

Constructs an instance of RemoteCollectionChanges for a Move event.

public static Microsoft.VisualStudio.RpcContracts.RemoteUI.RemoteCollectionChanges Move (int oldStartingIndex, int newStartingIndex, int movedItemsCount);
static member Move : int * int * int -> Microsoft.VisualStudio.RpcContracts.RemoteUI.RemoteCollectionChanges
Public Shared Function Move (oldStartingIndex As Integer, newStartingIndex As Integer, movedItemsCount As Integer) As RemoteCollectionChanges

Parameters

oldStartingIndex
Int32

The zero-based index of the old location at which the change occurred.

newStartingIndex
Int32

The zero-based index of the new location at which the change occurred.

movedItemsCount
Int32

The number of existing items affected by the change.

Returns

The RemoteCollectionChanges value.

Applies to