DataCollection<TKey, TValue>.AddRange Method (KeyValuePair<TKey, TValue>[])


Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Adds the elements of the specified collection to the end of the DataCollection<TKey, TValue>.

Namespace:   Microsoft.Xrm.Sdk
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

public void AddRange(
	params KeyValuePair<TKey, TValue>[] items


Type: System.Collections.Generic.KeyValuePair<TKey, TValue>[]

Type: KeyValuePair<TKey, TValue>[]. The array whose elements should be added to the end of the DataCollection<T>. The array itself cannot be null, but it can contain elements that are null, if type T is a reference type.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright