다음을 통해 공유


DataCollection<T>.ToArray Method ()

 

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

Copies the elements of the DataCollection<T> to a new array.

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

Syntax

public T[] ToArray()
Public Function ToArray As T()

Return Value

Type: T[]

Type: Type[]
An array containing copies of the elements of the DataCollection<T>.

Remarks

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

See Also

DataCollection<T> Class
Microsoft.Xrm.Sdk Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright