Bewerken

Share via


ScriptFunction.prototype Property

Definition

Gets or sets the prototype object for this constructor function.

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

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

Property Value

The prototype object for this constructor function.

Remarks

The prototype is the object to which the object delegates requests for properties or methods that it does not implement itself. For example, when you create a NumberObject by using a NumberConstructor, the prototype is a NumberPrototype.

Applies to