DataCollection<T>.ToArray Method ()


Applies To: Dynamics CRM 2015

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

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


public T[] ToArray()
array<T>^ ToArray()
member ToArray : unit -> 'T[]
Public Function ToArray As T()

Return Value

Type: T[]

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


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

See Also

DataCollection<T> Class
Microsoft.Xrm.Sdk Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright