HostFunctionsnewArr Method (Int32) |
Creates a host array with
Object as the element type.
Namespace:
Microsoft.ClearScript
Assembly:
ClearScript.Core (in ClearScript.Core.dll) Version: 7.2.4
Syntaxpublic Object newArr(
params int[] lengths
)
Public Function newArr (
ParamArray lengths As Integer()
) As Object
public:
Object^ newArr(
... array<int>^ lengths
)
member newArr :
lengths : int[] -> Object
Parameters
- lengths
- Type: SystemInt32
One or more integers representing the array dimension lengths.
Return Value
Type:
ObjectA new host array with
Object as the element type.
Remarks
For information about the mapping between host members and script-callable properties
and methods, see
AddHostObject.
See Also