With.JScriptWith(Object, VsaEngine) 方法

定義

透過將陳述句區塊加入作用域堆疊來建立預設物件 with

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

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

參數

withOb
Object

預設物件。

engine
VsaEngine

這是對腳本引擎的參考。

傳回

withOb 被轉換成一個物件。

適用於

另請參閱