GlobalObject Class
This API supports the product infrastructure and is not intended to be used directly from your code.
Stores constants, data type information, utility functions, and references to prototype-based objects. This class belongs to the built-in object model category.
Assembly: Microsoft.JScript (in Microsoft.JScript.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | ActiveXObject | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a reference to an ActiveXObjectConstructor object. |
![]() ![]() | Array | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a reference to an ArrayConstructor object. |
![]() ![]() | boolean | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the managed type that corresponds to the JScript boolean data type. |
![]() ![]() | Boolean | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a reference to a BooleanConstructor object. |
![]() ![]() | byte | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the managed type that corresponds to the JScript byte data type. |
![]() ![]() | char | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the managed type that corresponds to the JScript char data type. |
![]() ![]() | Date | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a reference to a DateConstructor object. |
![]() ![]() | decimal | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the managed type that corresponds to the JScript decimal data type. |
![]() ![]() | double | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the managed type that corresponds to the JScript double data type. |
![]() ![]() | Enumerator | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a reference to an EnumeratorConstructor object. |
![]() ![]() | Error | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a reference to an ErrorConstructor object. |
![]() ![]() | EvalError | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a reference to an ErrorConstructor object. The object is initialized as an EvalError. |
![]() ![]() | float | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the managed type that corresponds to the JScript float data type. |
![]() ![]() | Function | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a reference to a FunctionConstructor object. |
![]() ![]() | int | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the managed type that corresponds to the JScript int data type. |
![]() ![]() | long | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the managed type that corresponds to the JScript long data type. |
![]() ![]() | Math | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a reference to a MathObject object. |
![]() ![]() | Number | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a reference to a NumberConstructor object. |
![]() ![]() | Object | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a reference to an ObjectConstructor object. |
![]() ![]() | RangeError | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a reference to an ErrorConstructor object. The object is initialized as a RangeError. |
![]() ![]() | ReferenceError | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a reference to an ErrorConstructor object. The object is initialized as a ReferenceError. |
![]() ![]() | RegExp | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a reference to a RegExpConstructor object. |
![]() ![]() | sbyte | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the managed type that corresponds to the JScript sbyte data type. |
![]() ![]() | short | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the managed type that corresponds to the JScript short data type. |
![]() ![]() | String | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a reference to a StringConstructor object. |
![]() ![]() | SyntaxError | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a reference to an ErrorConstructor object. The object is initialized as a SyntaxError. |
![]() ![]() | TypeError | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a reference to an ErrorConstructor object. The object is initialized as a TypeError. |
![]() ![]() | uint | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the managed type that corresponds to the JScript uint data type. |
![]() ![]() | ulong | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the managed type that corresponds to the JScript ulong data type. |
![]() ![]() | URIError | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a reference to an ErrorConstructor object. The object is initialized as a URIError. |
![]() ![]() | ushort | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the managed type that corresponds to the JScript ushort data type. |
![]() ![]() | VBArray | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a reference to a VBArrayConstructor object. |
![]() ![]() | void | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the managed type that corresponds to the return value of a function that does not return a value. |
| Name | Description | |
|---|---|---|
![]() ![]() | CollectGarbage() | This API supports the product infrastructure and is not intended to be used directly from your code. Calls the garbage collector. |
![]() ![]() | decodeURI(Object^) | This API supports the product infrastructure and is not intended to be used directly from your code. Decodes the specified Uniform Resource Identifier (URI), accounting for reserved characters. |
![]() ![]() | decodeURIComponent(Object^) | This API supports the product infrastructure and is not intended to be used directly from your code. Decodes the specified Uniform Resource Identifier (URI). |
![]() ![]() | encodeURI(Object^) | This API supports the product infrastructure and is not intended to be used directly from your code. Encodes the specified Uniform Resource Identifier (URI), accounting for reserved characters. |
![]() ![]() | encodeURIComponent(Object^) | This API supports the product infrastructure and is not intended to be used directly from your code. Encodes the specified Uniform Resource Identifier (URI). |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() ![]() | escape(Object^) | This API supports the product infrastructure and is not intended to be used directly from your code. Converts the specified string to use the % character to escape reserved characters (@, *, _, +, -, ., /) and express them in Unicode notation. |
![]() ![]() | eval(Object^) | This API supports the product infrastructure and is not intended to be used directly from your code. Throws an IllegalEval exception in all cases. |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() ![]() | GetObject(Object^, Object^) | This API supports the product infrastructure and is not intended to be used directly from your code. Creates a managed object from an unmanaged object by using either the moniker or the ProgID. |
![]() | GetType() | |
![]() ![]() | isFinite(Double) | This API supports the product infrastructure and is not intended to be used directly from your code. Determines whether the specified number represents infinity. |
![]() ![]() | isNaN(Object^) | This API supports the product infrastructure and is not intended to be used directly from your code. Determines whether the specified number can be converted to a JScript number. |
![]() | MemberwiseClone() | |
![]() ![]() | parseFloat(Object^) | This API supports the product infrastructure and is not intended to be used directly from your code. Converts the specified string to its Double equivalent. |
![]() ![]() | parseInt(Object^, Object^) | This API supports the product infrastructure and is not intended to be used directly from your code. Converts the specified string to its Double equivalent, using the specified base. |
![]() ![]() | ScriptEngine() | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the name of the scripting engine. |
![]() ![]() | ScriptEngineBuildVersion() | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the build number of the scripting engine. |
![]() ![]() | ScriptEngineMajorVersion() | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the major version number of the scripting engine. |
![]() ![]() | ScriptEngineMinorVersion() | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the minor version number of the scripting engine. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
![]() ![]() | unescape(Object^) | This API supports the product infrastructure and is not intended to be used directly from your code. Converts % escaped characters (@, *, _, +, -, ., /) in the specified string to their original form. The escaped characters are expressed in Unicode notation. |
| Name | Description | |
|---|---|---|
![]() ![]() | Infinity | This API supports the product infrastructure and is not intended to be used directly from your code. Represents positive infinity. This field is constant. |
![]() ![]() | NaN | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a value that is not a number (NaN). This field is constant. |
![]() | originalActiveXObjectField | This API supports the product infrastructure and is not intended to be used directly from your code. Stores a reference to an ActiveXObjectConstructor object. |
![]() | originalArrayField | This API supports the product infrastructure and is not intended to be used directly from your code. Stores a reference to an ArrayConstructor object. |
![]() | originalBooleanField | This API supports the product infrastructure and is not intended to be used directly from your code. Stores a reference to a BooleanConstructor object. |
![]() | originalDateField | This API supports the product infrastructure and is not intended to be used directly from your code. Stores a reference to a DateConstructor object. |
![]() | originalEnumeratorField | This API supports the product infrastructure and is not intended to be used directly from your code. Stores a reference to an EnumeratorConstructor object. |
![]() | originalErrorField | This API supports the product infrastructure and is not intended to be used directly from your code. Stores a reference to an ErrorConstructor object. |
![]() | originalEvalErrorField | This API supports the product infrastructure and is not intended to be used directly from your code. Stores a reference to an ErrorConstructor object. The object is initialized as an EvalError. |
![]() | originalFunctionField | This API supports the product infrastructure and is not intended to be used directly from your code. Stores a reference to a FunctionConstructor object. |
![]() | originalNumberField | This API supports the product infrastructure and is not intended to be used directly from your code. Stores a reference to a NumberConstructor object. |
![]() | originalObjectField | This API supports the product infrastructure and is not intended to be used directly from your code. Stores a reference to an ObjectConstructor object. |
![]() | originalObjectPrototypeField | This API supports the product infrastructure and is not intended to be used directly from your code. Stores a reference to an ObjectPrototype object. |
![]() | originalRangeErrorField | This API supports the product infrastructure and is not intended to be used directly from your code. Stores a reference to an ErrorConstructor object. The object is initialized as a RangeError. |
![]() | originalReferenceErrorField | This API supports the product infrastructure and is not intended to be used directly from your code. Stores a reference to an ErrorConstructor object. The object is initialized as a ReferenceError. |
![]() | originalRegExpField | This API supports the product infrastructure and is not intended to be used directly from your code. Stores a reference to a RegExpConstructor object. |
![]() | originalStringField | This API supports the product infrastructure and is not intended to be used directly from your code. Stores a reference to a StringConstructor object. |
![]() | originalSyntaxErrorField | This API supports the product infrastructure and is not intended to be used directly from your code. Stores a reference to an ErrorConstructor object. The object is initialized as a SyntaxError. |
![]() | originalTypeErrorField | This API supports the product infrastructure and is not intended to be used directly from your code. Stores a reference to an ErrorConstructor object. The object is initialized as a TypeError. |
![]() | originalURIErrorField | This API supports the product infrastructure and is not intended to be used directly from your code. Stores a reference to an ErrorConstructor object. The object is initialized as a URIError. |
![]() | originalVBArrayField | This API supports the product infrastructure and is not intended to be used directly from your code. Stores a reference to a VBArrayConstructor object. |
![]() ![]() | undefined | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a value that is null. |
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.





