ScriptFunction.prototype 屬性

定義

取得或設定此建構函式的原型物件。

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

public:
 property System::Object ^ prototype { System::Object ^ get(); void set(System::Object ^ value); };
public object prototype { get; set; }
member this.prototype : obj with get, set
Public Property prototype As Object

屬性值

此建構函式的原型物件。

備註

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

適用於