VBArrayPrototype.toArray(Object, VsaEngine) Method

Definition

Converts a VBArrayObject object to an ArrayObject object.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 static Microsoft::JScript::ArrayObject ^ toArray(System::Object ^ thisob, Microsoft::JScript::Vsa::VsaEngine ^ engine);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasEngine | Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.VBArray_toArray)]
public static Microsoft.JScript.ArrayObject toArray (object thisob, Microsoft.JScript.Vsa.VsaEngine engine);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasEngine | Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.VBArray_toArray)>]
static member toArray : obj * Microsoft.JScript.Vsa.VsaEngine -> Microsoft.JScript.ArrayObject
Public Shared Function toArray (thisob As Object, engine As VsaEngine) As ArrayObject

Parameters

thisob
Object

The object that this method is acting upon.

engine
VsaEngine

A reference to the scripting engine.

Returns

thisob expressed as an ArrayObject.

Attributes

Applies to

See also