ScriptObject.GetParent Method ()


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

Gets a reference to the parent object.

Namespace:   Microsoft.JScript
Assembly:  Microsoft.JScript (in Microsoft.JScript.dll)

public ScriptObject GetParent()

Return Value

Type: Microsoft.JScript.ScriptObject

A reference to the parent object.

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.

.NET Framework
Available since 1.1
Return to top