VBArrayPrototype.toArray(Object, VsaEngine) Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
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