This documentation is archived and is not being maintained.

LenientGlobalObject Class

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

Stores constructor function objects, data type information, and objects that represent the static methods of the GlobalObject class. The LenientGlobalObject class belongs to the built-in object model category.

System::Object
  Microsoft.JScript::GlobalObject
    Microsoft.JScript::LenientGlobalObject

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

public ref class LenientGlobalObject sealed : public GlobalObject

The LenientGlobalObject type exposes the following members.

  NameDescription
Public propertyActiveXObjectGets or sets a prototype-based object that is defined by an ActiveXObjectConstructor constructor function object.
Public propertyArrayGets or sets a prototype-based object that is defined by an ArrayConstructor constructor function object.
Public propertyBooleanGets or sets a prototype-based object that is defined by a BooleanConstructor constructor function object.
Public propertyDateGets or sets a prototype-based object that is defined by a LenientDateConstructor constructor function object.
Public propertyEnumeratorGets or sets a prototype-based object that is defined by an EnumeratorConstructor constructor function object.
Public propertyErrorGets or sets a prototype-based object that is defined by an ErrorConstructor constructor function object.
Public propertyEvalErrorGets or sets a prototype-based object that is defined by an ErrorConstructor constructor function object, and that is initialized as an EvalError.
Public propertyFunctionGets or sets a prototype-based object that is defined by a FunctionConstructor constructor function object.
Public propertyMathGets or sets a LenientMathObject object.
Public propertyNumberGets or sets a prototype-based object that is defined by a NumberConstructor constructor function object.
Public propertyObjectGets or sets a prototype-based object that is defined by an ObjectConstructor constructor function object.
Public propertyRangeErrorGets or sets a prototype-based object that is defined by an ErrorConstructor constructor function object, and that is initialized as a RangeError.
Public propertyReferenceErrorGets or sets a prototype-based object that is defined by an ErrorConstructor constructor function object, and that is initialized as a ReferenceError.
Public propertyRegExpGets or sets a prototype-based object that is defined by a RegExpConstructor constructor function object.
Public propertyStringGets or sets a prototype-based object that is defined by a LenientStringConstructor constructor function object.
Public propertySyntaxErrorGets or sets a prototype-based object that is defined by an ErrorConstructor constructor function object, and that is initialized as a SyntaxError.
Public propertyTypeErrorGets or sets a prototype-based object that is defined by an ErrorConstructor constructor function object, and that is initialized as a TypeError.
Public propertyURIErrorGets or sets a prototype-based object that is defined by an ErrorConstructor constructor function object, and that is initialized as a URIError.
Public propertyVBArrayGets or sets a prototype-based object that is defined by a VBArrayConstructor constructor function object.
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public fieldbooleanStores the managed type that corresponds to the JScript boolean data type.
Public fieldbyteStores the managed type that corresponds to the JScript byte data type.
Public fieldcharStores the managed type that corresponds to the JScript char data type.
Public fielddecimalStores the managed type that corresponds to the JScript decimal data type.
Public fielddecodeURIStores an object that represents the static decodeURI method of the GlobalObject class.
Public fielddecodeURIComponentStores an object that represents the static decodeURIComponent method of the GlobalObject class.
Public fielddoubleStores the managed type that corresponds to the JScript double data type.
Public fieldencodeURIStores an object that represents the static encodeURI method of the GlobalObject class.
Public fieldencodeURIComponentStores an object that represents the static encodeURIComponent method of the GlobalObject class.
Public fieldescapeStores an object that represents the static escape method of the GlobalObject class.
Public fieldevalStores an object that represents the static eval method of the GlobalObject class.
Public fieldfloatStores the managed type that corresponds to the JScript float data type.
Public fieldGetObjectStores an object that represents the static GetObject method of the GlobalObject class.
Public fieldInfinityRepresents positive infinity.
Public fieldintStores the managed type that corresponds to the JScript int data type.
Public fieldisFiniteStores an object that represents the static isFinite method of the GlobalObject class.
Public fieldisNaNStores an object that represents the static isNaN method of the GlobalObject class.
Public fieldlongStores the managed type that corresponds to the JScript long data type.
Public fieldNaNRepresents a value that is not a number (NaN).
Protected fieldoriginalActiveXObjectFieldStores a reference to an ActiveXObjectConstructor object. (Inherited from GlobalObject.)
Protected fieldoriginalArrayFieldStores a reference to an ArrayConstructor object. (Inherited from GlobalObject.)
Protected fieldoriginalBooleanFieldStores a reference to a BooleanConstructor object. (Inherited from GlobalObject.)
Protected fieldoriginalDateFieldStores a reference to a DateConstructor object. (Inherited from GlobalObject.)
Protected fieldoriginalEnumeratorFieldStores a reference to an EnumeratorConstructor object. (Inherited from GlobalObject.)
Protected fieldoriginalErrorFieldStores a reference to an ErrorConstructor object. (Inherited from GlobalObject.)
Protected fieldoriginalEvalErrorFieldStores a reference to an ErrorConstructor object. The object is initialized as an EvalError. (Inherited from GlobalObject.)
Protected fieldoriginalFunctionFieldStores a reference to a FunctionConstructor object. (Inherited from GlobalObject.)
Protected fieldoriginalNumberFieldStores a reference to a NumberConstructor object. (Inherited from GlobalObject.)
Protected fieldoriginalObjectFieldStores a reference to an ObjectConstructor object. (Inherited from GlobalObject.)
Protected fieldoriginalObjectPrototypeFieldStores a reference to an ObjectPrototype object. (Inherited from GlobalObject.)
Protected fieldoriginalRangeErrorFieldStores a reference to an ErrorConstructor object. The object is initialized as a RangeError. (Inherited from GlobalObject.)
Protected fieldoriginalReferenceErrorFieldStores a reference to an ErrorConstructor object. The object is initialized as a ReferenceError. (Inherited from GlobalObject.)
Protected fieldoriginalRegExpFieldStores a reference to a RegExpConstructor object. (Inherited from GlobalObject.)
Protected fieldoriginalStringFieldStores a reference to a StringConstructor object. (Inherited from GlobalObject.)
Protected fieldoriginalSyntaxErrorFieldStores a reference to an ErrorConstructor object. The object is initialized as a SyntaxError. (Inherited from GlobalObject.)
Protected fieldoriginalTypeErrorFieldStores a reference to an ErrorConstructor object. The object is initialized as a TypeError. (Inherited from GlobalObject.)
Protected fieldoriginalURIErrorFieldStores a reference to an ErrorConstructor object. The object is initialized as a URIError. (Inherited from GlobalObject.)
Protected fieldoriginalVBArrayFieldStores a reference to a VBArrayConstructor object. (Inherited from GlobalObject.)
Public fieldparseFloatStores an object that represents the static parseFloat method of the GlobalObject class.
Public fieldparseIntStores an object that represents the static parseInt method of the GlobalObject class.
Public fieldsbyteStores the managed type that corresponds to the JScript sbyte data type.
Public fieldScriptEngineStores an object that represents the static ScriptEngine method of the GlobalObject class.
Public fieldScriptEngineBuildVersionStores an object that represents the static ScriptEngineBuildVersion method of the GlobalObject class.
Public fieldScriptEngineMajorVersionStores an object that represents the static ScriptEngineMajorVersion method of the GlobalObject class.
Public fieldScriptEngineMinorVersionStores an object that represents the static ScriptEngineMinorVersion method of the GlobalObject class.
Public fieldshortStores the managed type that corresponds to the JScript short data type.
Public fielduintStores the managed type that corresponds to the JScript uint data type.
Public fieldulongStores the managed type that corresponds to the JScript ulong data type.
Public fieldundefinedRepresents a value that is null.
Public fieldunescapeStores an object that represents the static unescape method of the GlobalObject class.
Public fieldushortStores the managed type that corresponds to the JScript ushort data type.
Public fieldvoidStores the managed type that corresponds to the return value of a function that does not return a value.
Top

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: