DataCollection<TKey, TValue>.AddRange Method (IEnumerable<KeyValuePair<TKey, TValue>>)
Applies To: Dynamics CRM 2015
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)
Syntax
public void AddRange(
IEnumerable<KeyValuePair<TKey, TValue>> items
)
public:
void AddRange(
IEnumerable<KeyValuePair<TKey, TValue>>^ items
)
member AddRange :
items:IEnumerable<KeyValuePair<'TKey, 'TValue>> -> unit
Public Sub AddRange (
items As IEnumerable(Of KeyValuePair(Of TKey, TValue))
)
Parameters
items
Type: System.Collections.Generic.IEnumerable<KeyValuePair<TKey, TValue>>Type: IEnumerable<KeyValuePair<TKey, TValue>>. The collection whose elements should be added to the end of the DataCollection<T>. The collection itself cannot be null, but it can contain elements that are null, if type T is a reference type.
See Also
AddRange Overload
DataCollection<TKey, TValue> Class
Microsoft.Xrm.Sdk Namespace
Return to top
© 2016 Microsoft. All rights reserved. Copyright