Share via


RemoteCollectionChanges.Remove Method

Definition

Overloads

Remove(IList<MessagePackFragment>)

Constructs an instance of RemoteCollectionChanges for a Remove event raised by a non-indexed collection.

Remove(Int32, Int32)

Constructs an instance of RemoteCollectionChanges for a Remove event raised by an indexed collection.

Remove(IList<MessagePackFragment>)

Constructs an instance of RemoteCollectionChanges for a Remove event raised by a non-indexed collection.

public static Microsoft.VisualStudio.RpcContracts.RemoteUI.RemoteCollectionChanges Remove (System.Collections.Generic.IList<Microsoft.VisualStudio.RpcContracts.RemoteUI.MessagePackFragment> oldItems);
static member Remove : System.Collections.Generic.IList<Microsoft.VisualStudio.RpcContracts.RemoteUI.MessagePackFragment> -> Microsoft.VisualStudio.RpcContracts.RemoteUI.RemoteCollectionChanges
Public Shared Function Remove (oldItems As IList(Of MessagePackFragment)) As RemoteCollectionChanges

Parameters

oldItems
IList<MessagePackFragment>

The list of existing items affected by the change.

Returns

The RemoteCollectionChanges value.

Applies to

Remove(Int32, Int32)

Constructs an instance of RemoteCollectionChanges for a Remove event raised by an indexed collection.

public static Microsoft.VisualStudio.RpcContracts.RemoteUI.RemoteCollectionChanges Remove (int startingIndex, int removedItemsCount);
static member Remove : int * int -> Microsoft.VisualStudio.RpcContracts.RemoteUI.RemoteCollectionChanges
Public Shared Function Remove (startingIndex As Integer, removedItemsCount As Integer) As RemoteCollectionChanges

Parameters

startingIndex
Int32

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

removedItemsCount
Int32

The number of existing items affected by the change.

Returns

The RemoteCollectionChanges value.

Applies to