DataCollection<T>.ToArray Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Copies the elements of the DataCollection<T> to a new array.
public:
cli::array <T> ^ ToArray();
public T[] ToArray ();
member this.ToArray : unit -> 'T[]
Public Function ToArray () As T()
Returns
T[]
An array containing copies of the elements of the DataCollection<T>.
Remarks
This method extends the base Collection class to add List.ToArray
functionality.