Uredi

Deli z drugimi prek


ScriptObject.GetParent Method

Definition

Gets a reference to the parent object.

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

public:
 Microsoft::JScript::ScriptObject ^ GetParent();
public Microsoft.JScript.ScriptObject GetParent ();
member this.GetParent : unit -> Microsoft.JScript.ScriptObject
Public Function GetParent () As ScriptObject

Returns

A reference to the parent object.

Remarks

The parent is the object to which the script 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 parent is a NumberPrototype.

Applies to

See also