Click or drag to resize

HostFunctions.newArr(Int32[]) Method

Creates a host array with Object as the element type.

Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntax
public Object newArr(
	params int[] lengths
)

Parameters

lengths  Int32[]
One or more integers representing the array dimension lengths.

Return Value

Object
A 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