Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ScriptObject.GetParent Method

This API supports the .NET Framework 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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft