VBArrayPrototype.toArray(Object, VsaEngine) Metod

Definition

Konverterar ett VBArrayObject objekt till ett ArrayObject objekt.

Detta API stöder produktinfrastrukturen och är inte avsett att användas direkt från koden.

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

Parametrar

thisob
Object

Det objekt som den här metoden agerar på.

engine
VsaEngine

En referens till skriptmotorn.

Returer

thisob uttrycks som en ArrayObject.

Attribut

Gäller för

Se även