Dela via


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)

Syntax

public T[] ToArray()
public:
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>.

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

© 2016 Microsoft. All rights reserved. Copyright