ScriptFunction.GetPrototypeForConstructedObject 方法

定義

取得這個建構函式的原型物件。

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

protected:
 Microsoft::JScript::ScriptObject ^ GetPrototypeForConstructedObject();
protected Microsoft.JScript.ScriptObject GetPrototypeForConstructedObject();
member this.GetPrototypeForConstructedObject : unit -> Microsoft.JScript.ScriptObject
Protected Function GetPrototypeForConstructedObject () As ScriptObject

傳回

此建構函式的原型物件。

備註

原型是物件用來委派請求其未自行實作的屬性或方法的物件。 例如,當你使用 一個 NumberConstructor來建立 時NumberObject,原型是一個 NumberPrototype

適用於