ערוך

שתף באמצעות


With.JScriptWith(Object, VsaEngine) Method

Definition

Establishes the default object for a with statement block by adding it to the scope stack.

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

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

Parameters

withOb
Object

The default object.

engine
VsaEngine

A reference to the scripting engine.

Returns

withOb converted to an object.

Applies to

See also