ScriptFunction.prototype 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定此建構函式的原型物件。
此 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。