Share via


RemoteCollectionChanges.Add Method

Definition

Overloads

Add(IList<MessagePackFragment>)

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

Add(Int32, IList<MessagePackFragment>)

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

Add(IList<MessagePackFragment>)

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

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

Parameters

newItems
IList<MessagePackFragment>

The list of new items involved in the change.

Returns

The RemoteCollectionChanges value.

Applies to

Add(Int32, IList<MessagePackFragment>)

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

public static Microsoft.VisualStudio.RpcContracts.RemoteUI.RemoteCollectionChanges Add (int startingIndex, System.Collections.Generic.IList<Microsoft.VisualStudio.RpcContracts.RemoteUI.MessagePackFragment> newItems);
static member Add : int * System.Collections.Generic.IList<Microsoft.VisualStudio.RpcContracts.RemoteUI.MessagePackFragment> -> Microsoft.VisualStudio.RpcContracts.RemoteUI.RemoteCollectionChanges
Public Shared Function Add (startingIndex As Integer, newItems As IList(Of MessagePackFragment)) As RemoteCollectionChanges

Parameters

startingIndex
Int32

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

newItems
IList<MessagePackFragment>

The list of new items involved in the change.

Returns

The RemoteCollectionChanges value.

Applies to