Jaa


DataCollection(Of T).AddRange Method (T())

Applies To: Dynamics CRM 2015

Adds the elements of the specified collection to the end of the DataCollection<T>.

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

Syntax

public void AddRange(
    params T[] items
)
public:
void AddRange(
    ... array<T>^ items
)
member AddRange : 
        [<ParamArrayAttribute>] items:'T[] -> unit
Public Sub AddRange (
    ParamArray items As T()
)

Parameters

  • items
    Type: T[]

    Type: T[]. 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.

Remarks

This method extends the base Collection class to add List.AddRange functionality.

See Also

AddRange Overload
DataCollection<T> Class
Microsoft.Xrm.Sdk Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright