ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript.JavaScript
ITypedArray<T> Interface
ITypedArray<T> Methods
Read Method
ToArray Method
Write Method

# ITypedArray T ToArray Method

Creates an array containing a copy of the typed array's contents.
Namespace: Microsoft.ClearScript.JavaScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    T[] ToArray()

    Function ToArray As T()

    array<T>^ ToArray()

    abstract ToArray : unit -> 'T[]

#### Return Value

T
A new array containing a copy of the typed array's contents.
See Also

#### Reference

ITypedArrayT Interface
Microsoft.ClearScript.JavaScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft