With.JScriptWith(Object, VsaEngine) Metod

Definition

Etablerar standardobjektet för ett with instruktionsblock genom att lägga till det i omfångsstacken.

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

public:
 static System::Object ^ JScriptWith(System::Object ^ withOb, Microsoft::JScript::Vsa::VsaEngine ^ engine);
public static object JScriptWith(object withOb, Microsoft.JScript.Vsa.VsaEngine engine);
static member JScriptWith : obj * Microsoft.JScript.Vsa.VsaEngine -> obj
Public Shared Function JScriptWith (withOb As Object, engine As VsaEngine) As Object

Parametrar

withOb
Object

Standardobjektet.

engine
VsaEngine

En referens till skriptmotorn.

Returer

withOb konverteras till ett objekt.

Gäller för

Se även