RemoteCollectionChanges.Add 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.
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.