GlobalObject GlobalObject GlobalObject GlobalObject Class

Definition

Stores constants, data type information, utility functions, and references to prototype-based objects. This class belongs to the built-in object model category.

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

public ref class GlobalObject
public class GlobalObject
type GlobalObject = class
Public Class GlobalObject
Inheritance
GlobalObjectGlobalObjectGlobalObjectGlobalObject
Derived

Fields

Infinity Infinity Infinity Infinity

Represents positive infinity. This field is constant.

NaN NaN NaN NaN

Represents a value that is not a number (NaN). This field is constant.

originalActiveXObjectField originalActiveXObjectField originalActiveXObjectField originalActiveXObjectField

Stores a reference to an ActiveXObjectConstructor object.

originalArrayField originalArrayField originalArrayField originalArrayField

Stores a reference to an ArrayConstructor object.

originalBooleanField originalBooleanField originalBooleanField originalBooleanField

Stores a reference to a BooleanConstructor object.

originalDateField originalDateField originalDateField originalDateField

Stores a reference to a DateConstructor object.

originalEnumeratorField originalEnumeratorField originalEnumeratorField originalEnumeratorField

Stores a reference to an EnumeratorConstructor object.

originalErrorField originalErrorField originalErrorField originalErrorField

Stores a reference to an ErrorConstructor object.

originalEvalErrorField originalEvalErrorField originalEvalErrorField originalEvalErrorField

Stores a reference to an ErrorConstructor object. The object is initialized as an EvalError.

originalFunctionField originalFunctionField originalFunctionField originalFunctionField

Stores a reference to a FunctionConstructor object.

originalNumberField originalNumberField originalNumberField originalNumberField

Stores a reference to a NumberConstructor object.

originalObjectField originalObjectField originalObjectField originalObjectField

Stores a reference to an ObjectConstructor object.

originalObjectPrototypeField originalObjectPrototypeField originalObjectPrototypeField originalObjectPrototypeField

Stores a reference to an ObjectPrototype object.

originalRangeErrorField originalRangeErrorField originalRangeErrorField originalRangeErrorField

Stores a reference to an ErrorConstructor object. The object is initialized as a RangeError.

originalReferenceErrorField originalReferenceErrorField originalReferenceErrorField originalReferenceErrorField

Stores a reference to an ErrorConstructor object. The object is initialized as a ReferenceError.

originalRegExpField originalRegExpField originalRegExpField originalRegExpField

Stores a reference to a RegExpConstructor object.

originalStringField originalStringField originalStringField originalStringField

Stores a reference to a StringConstructor object.

originalSyntaxErrorField originalSyntaxErrorField originalSyntaxErrorField originalSyntaxErrorField

Stores a reference to an ErrorConstructor object. The object is initialized as a SyntaxError.

originalTypeErrorField originalTypeErrorField originalTypeErrorField originalTypeErrorField

Stores a reference to an ErrorConstructor object. The object is initialized as a TypeError.

originalURIErrorField originalURIErrorField originalURIErrorField originalURIErrorField

Stores a reference to an ErrorConstructor object. The object is initialized as a URIError.

originalVBArrayField originalVBArrayField originalVBArrayField originalVBArrayField

Stores a reference to a VBArrayConstructor object.

undefined undefined undefined undefined

Represents a value that is null.

Properties

ActiveXObject ActiveXObject ActiveXObject ActiveXObject

Gets a reference to an ActiveXObjectConstructor object.

Array Array Array Array

Gets a reference to an ArrayConstructor object.

boolean boolean boolean boolean

Gets the managed type that corresponds to the JScript boolean data type.

Boolean Boolean Boolean Boolean

Gets a reference to a BooleanConstructor object.

byte byte byte byte

Gets the managed type that corresponds to the JScript byte data type.

char char char char

Gets the managed type that corresponds to the JScript char data type.

Date Date Date Date

Gets a reference to a DateConstructor object.

decimal decimal decimal decimal

Gets the managed type that corresponds to the JScript decimal data type.

double double double double

Gets the managed type that corresponds to the JScript double data type.

Enumerator Enumerator Enumerator Enumerator

Gets a reference to an EnumeratorConstructor object.

Error Error Error Error

Gets a reference to an ErrorConstructor object.

EvalError EvalError EvalError EvalError

Gets a reference to an ErrorConstructor object. The object is initialized as an EvalError.

float float float float

Gets the managed type that corresponds to the JScript float data type.

Function Function Function Function

Gets a reference to a FunctionConstructor object.

int int int int

Gets the managed type that corresponds to the JScript int data type.

long long long long

Gets the managed type that corresponds to the JScript long data type.

Math Math Math Math

Gets a reference to a MathObject object.

Number Number Number Number

Gets a reference to a NumberConstructor object.

Object Object Object Object

Gets a reference to an ObjectConstructor object.

RangeError RangeError RangeError RangeError

Gets a reference to an ErrorConstructor object. The object is initialized as a RangeError.

ReferenceError ReferenceError ReferenceError ReferenceError

Gets a reference to an ErrorConstructor object. The object is initialized as a ReferenceError.

RegExp RegExp RegExp RegExp

Gets a reference to a RegExpConstructor object.

sbyte sbyte sbyte sbyte

Gets the managed type that corresponds to the JScript sbyte data type.

short short short short

Gets the managed type that corresponds to the JScript short data type.

String String String String

Gets a reference to a StringConstructor object.

SyntaxError SyntaxError SyntaxError SyntaxError

Gets a reference to an ErrorConstructor object. The object is initialized as a SyntaxError.

TypeError TypeError TypeError TypeError

Gets a reference to an ErrorConstructor object. The object is initialized as a TypeError.

uint uint uint uint

Gets the managed type that corresponds to the JScript uint data type.

ulong ulong ulong ulong

Gets the managed type that corresponds to the JScript ulong data type.

URIError URIError URIError URIError

Gets a reference to an ErrorConstructor object. The object is initialized as a URIError.

ushort ushort ushort ushort

Gets the managed type that corresponds to the JScript ushort data type.

VBArray VBArray VBArray VBArray

Gets a reference to a VBArrayConstructor object.

void void void void

Gets the managed type that corresponds to the return value of a function that does not return a value.

Methods

CollectGarbage() CollectGarbage() CollectGarbage() CollectGarbage()

Calls the garbage collector.

decodeURI(Object) decodeURI(Object) decodeURI(Object) decodeURI(Object)

Decodes the specified Uniform Resource Identifier (URI), accounting for reserved characters.

decodeURIComponent(Object) decodeURIComponent(Object) decodeURIComponent(Object) decodeURIComponent(Object)

Decodes the specified Uniform Resource Identifier (URI).

encodeURI(Object) encodeURI(Object) encodeURI(Object) encodeURI(Object)

Encodes the specified Uniform Resource Identifier (URI), accounting for reserved characters.

encodeURIComponent(Object) encodeURIComponent(Object) encodeURIComponent(Object) encodeURIComponent(Object)

Encodes the specified Uniform Resource Identifier (URI).

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
escape(Object) escape(Object) escape(Object) escape(Object)

Converts the specified string to use the % character to escape reserved characters (@, *, _, +, -, ., /) and express them in Unicode notation.

eval(Object) eval(Object) eval(Object) eval(Object)

Throws an IllegalEval exception in all cases.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetObject(Object, Object) GetObject(Object, Object) GetObject(Object, Object) GetObject(Object, Object)

Creates a managed object from an unmanaged object by using either the moniker or the ProgID.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
isFinite(Double) isFinite(Double) isFinite(Double) isFinite(Double)

Determines whether the specified number represents infinity.

isNaN(Object) isNaN(Object) isNaN(Object) isNaN(Object)

Determines whether the specified number can be converted to a JScript number.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
parseFloat(Object) parseFloat(Object) parseFloat(Object) parseFloat(Object)

Converts the specified string to its Double equivalent.

parseInt(Object, Object) parseInt(Object, Object) parseInt(Object, Object) parseInt(Object, Object)

Converts the specified string to its Double equivalent, using the specified base.

ScriptEngine() ScriptEngine() ScriptEngine() ScriptEngine()

Gets the name of the scripting engine.

ScriptEngineBuildVersion() ScriptEngineBuildVersion() ScriptEngineBuildVersion() ScriptEngineBuildVersion()

Gets the build number of the scripting engine.

ScriptEngineMajorVersion() ScriptEngineMajorVersion() ScriptEngineMajorVersion() ScriptEngineMajorVersion()

Gets the major version number of the scripting engine.

ScriptEngineMinorVersion() ScriptEngineMinorVersion() ScriptEngineMinorVersion() ScriptEngineMinorVersion()

Gets the minor version number of the scripting engine.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
unescape(Object) unescape(Object) unescape(Object) unescape(Object)

Converts % escaped characters (@, *, _, +, -, ., /) in the specified string to their original form. The escaped characters are expressed in Unicode notation.

Applies to

See also