共用方式為


DataCollection<T>.AddRange Method

 

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<T>.

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

Overload List

Name Description
System_CAPS_pubmethod AddRange(T[])

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

System_CAPS_pubmethod AddRange(IEnumerable<T>)

Adds the elements of the specified collection to the end of the DataCollection.

Remarks

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

See Also

DataCollection<T> Class
Microsoft.Xrm.Sdk Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright