Microsoft.JScript Namespace
The Microsoft.JScript namespace contains classes that support compilation and code generation using the JScript language.
| Class | Description | |
|---|---|---|
![]() | ActivationObject | This API supports the product infrastructure and is not intended to be used directly from your code. Represents an object that is taking part in a scope hierarchy. This class contains methods for resolving scope and for getting member information. It belongs to the compilation and run-time state category. |
![]() | ActiveXObjectConstructor | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category. |
![]() | ArgumentsObject | This API supports the product infrastructure and is not intended to be used directly from your code. Represents the information that is used to call a function. This includes the function, the caller, the arguments, and information about the stack frame. This class belongs to the objects and functions category. |
![]() | ArrayConstructor | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category. |
![]() | ArrayLiteral | This API supports the product infrastructure and is not intended to be used directly from your code. This class is used by the JScript parser to represent an array literal. |
![]() | ArrayObject | This API supports the product infrastructure and is not intended to be used directly from your code. Represents an array object. This class belongs to the built-in object model category. |
![]() | ArrayPrototype | This API supports the product infrastructure and is not intended to be used directly from your code. Provides static methods and properties for ArrayObject objects. All methods of this class are called by passing in a reference to the object that is requesting access to the method. This class belongs to the built-in object model category. |
![]() | ArrayWrapper | This API supports the product infrastructure and is not intended to be used directly from your code. Wraps an array to create a JScript ArrayObject. This class wraps either a .NET Framework Array object or a JScript ArrayObject object. |
![]() | AssemblyCustomAttributeList | This API supports the product infrastructure and is not intended to be used directly from your code. This class is used by the JScript parser to store the attributes that are assigned to an assembly. |
![]() | AST | This API supports the product infrastructure and is not intended to be used directly from your code. Represents the abstract syntax tree that is used to parse JScript code. |
![]() | ASTList | This API supports the product infrastructure and is not intended to be used directly from your code. Maintains a list of AST elements. This class belongs to the abstract syntax tree category. |
![]() | BinaryOp | This API supports the product infrastructure and is not intended to be used directly from your code. Represents the base class for classes that perform operations on two operands, such as Plus, Equality, and Relational. This class belongs to the abstract syntax tree category. |
![]() | Binding | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a reference to a class member, callable expression, or variable name. This class attempts to resolve the reference to the correct value at compile time. |
![]() | BitwiseBinary | This API supports the product infrastructure and is not intended to be used directly from your code. Performs bitwise binary operations. This class belongs to the abstract syntax tree category. |
![]() | Block | |
![]() | BlockScope | This API supports the product infrastructure and is not intended to be used directly from your code. Represents the scope of a block of code that is taking part in a scope hierarchy and that can be pushed onto the global scope stack. For example, this class can represent the scope of a try block. |
![]() | BooleanConstructor | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category. |
![]() | BooleanObject | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a Boolean object. This class belongs to the built-in object model category. |
![]() | BooleanPrototype | This API supports the product infrastructure and is not intended to be used directly from your code. Provides static methods and properties for BooleanObject objects. All methods of this class are called by passing in a reference to the object that is requesting access to the method. This class belongs to the built-in object model category. |
![]() | BreakOutOfFinally | This API supports the product infrastructure and is not intended to be used directly from your code. Represents the exception state when code execution breaks out of a finally block. |
![]() | Closure | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a closure function. This class belongs to the objects and functions category. |
![]() | CmdLineException | This API supports the product infrastructure and is not intended to be used directly from your code. Represents errors that occur when you run the command-line compiler jsc.exe. |
![]() | CmdLineOptionParser | This API supports the product infrastructure and is not intended to be used directly from your code. Determines whether options that are specified to the command-line compiler jsc.exe are correctly formed, and reads the arguments if any are included. |
![]() | COMCharStream | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a stream that sends its data to an IMessageReceiver. The data is stored in a buffer until the data is flushed or the stream is closed. |
![]() | COMFieldInfo | This API supports the product infrastructure and is not intended to be used directly from your code. Enables JScript to communicate with an external COM field. This class is used by an external COM implementation to expose its objects to JScript because JScript needs a managed MemberInfo in order to bind to an external object. |
![]() | COMMethodInfo | This API supports the product infrastructure and is not intended to be used directly from your code. Enables JScript to communicate with an external COM method. This class is used by an external COM implementation to expose its objects to JScript because JScript needs a managed MemberInfo in order to bind to an external object. |
![]() | COMPropertyInfo | This API supports the product infrastructure and is not intended to be used directly from your code. Enables JScript to communicate with an external COM property. This class is used by an external COM implementation to expose its objects to JScript because JScript needs a managed MemberInfo in order to bind to an external object. |
![]() | Context | This API supports the product infrastructure and is not intended to be used directly from your code. Represents JScript source code. This class belongs to the compilation and run-time state category. |
![]() | ContinueOutOfFinally | This API supports the product infrastructure and is not intended to be used directly from your code. Represents the exception state when code execution continues out of a finally block. |
![]() | Convert | This API supports the product infrastructure and is not intended to be used directly from your code. Converts data from one type to another. This is a utility class. |
![]() | DateConstructor | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category. |
![]() | DateObject | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a date object. This class belongs to the built-in object model category. |
![]() | DatePrototype | This API supports the product infrastructure and is not intended to be used directly from your code. Provides static methods and properties for DateObject objects. All methods of this class are called by passing in a reference to the object that is requesting access to the method. This class belongs to the built-in object model category. |
![]() | DebugBreak | This API supports the product infrastructure and is not intended to be used directly from your code. This class is used by the JScript parser to represent a breakpoint in a debugger. |
![]() | DebugConvert | This API supports the product infrastructure and is not intended to be used directly from your code. Converts data from one type to another. Includes methods that convert values to String objects so that they can be displayed by the debugger. |
![]() | DocumentContext | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a source code file that is written in the JScript language. |
![]() | DynamicFieldInfo | This API supports the product infrastructure and is not intended to be used directly from your code. Represents field information. This class is used to return fields of expando classes and script arrays to the debugger. |
![]() | Empty | This API supports the product infrastructure and is not intended to be used directly from your code. Represents the value of a variable that has not been instantiated. |
![]() | EndOfFile | This API supports the product infrastructure and is not intended to be used directly from your code. This class is used by the JScript parser to represent reaching the end of a file as an exception. Code can throw this error to stop the parser. |
![]() | EnumeratorConstructor | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category. |
![]() | EnumeratorObject | This API supports the product infrastructure and is not intended to be used directly from your code. Represents an enumerator object. This class belongs to the built-in object model category. |
![]() | EnumeratorPrototype | This API supports the product infrastructure and is not intended to be used directly from your code. Provides static methods and properties for EnumeratorObject objects. All methods of this class are called by passing in a reference to the object that is requesting access to the method. This class belongs to the built-in object model category. |
![]() | Equality | This API supports the product infrastructure and is not intended to be used directly from your code. Performs comparison operations. This class belongs to the abstract syntax tree category. |
![]() | ErrorConstructor | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category. |
![]() | ErrorObject | This API supports the product infrastructure and is not intended to be used directly from your code. Represents an error object. This class belongs to the built-in object model category. |
![]() | ErrorPrototype | This API supports the product infrastructure and is not intended to be used directly from your code. Provides static methods and properties for ErrorObject objects. All methods of this class are called by passing in a reference to the object that is requesting access to the method. This class belongs to the built-in object model category. |
![]() | Eval | This API supports the product infrastructure and is not intended to be used directly from your code. Evaluates JScript code. This class belongs to the abstract syntax tree category. |
![]() | EvalErrorObject | This API supports the product infrastructure and is not intended to be used directly from your code. Represents an error that occurs when the eval method is used. For more information, see eval Method (Visual Studio - JScript). |
![]() | Expando | This API supports the product infrastructure and is not intended to be used directly from your code. Indicates that a class or method is an expando class or method. |
![]() | FieldAccessor | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a field accessor. |
![]() | ForIn | This API supports the product infrastructure and is not intended to be used directly from your code. Represents the JScript for...in statement. This class belongs to the abstract syntax tree category. |
![]() | FunctionConstructor | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category. |
![]() | FunctionDeclaration | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a function declaration. This class belongs to the abstract syntax tree category. |
![]() | FunctionExpression | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a function object. This class belongs to the abstract syntax tree category. |
![]() | FunctionObject | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a function object. |
![]() | FunctionPrototype | This API supports the product infrastructure and is not intended to be used directly from your code. Provides static methods and properties for FunctionObject objects. All methods of this class are called by passing in a reference to the object that is requesting access to the method. This class belongs to the built-in object model category. |
![]() | FunctionWrapper | This API supports the product infrastructure and is not intended to be used directly from your code. Binds the members of a function to an object. |
![]() | GlobalObject | 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. |
![]() | Globals | This API supports the product infrastructure and is not intended to be used directly from your code. Stores references to all globally available types and manages the stack. This class belongs to the compilation and run-time state category. |
![]() | GlobalScope | This API supports the product infrastructure and is not intended to be used directly from your code. Represents the global scope. |
![]() | Hide | This API supports the product infrastructure and is not intended to be used directly from your code. Indicates that a method or field hides a method or field in a base class. |
![]() | Import | This API supports the product infrastructure and is not intended to be used directly from your code. Imports namespaces for use in code. This class belongs to the abstract syntax tree category. |
![]() | In | This API supports the product infrastructure and is not intended to be used directly from your code. Determines whether an object is contained in another object. This class belongs to the abstract syntax tree category. |
![]() | Instanceof | This API supports the product infrastructure and is not intended to be used directly from your code. Determines whether an object can be coerced to the type of another object. This class belongs to the abstract syntax tree category. |
![]() | JSAuthor | This API supports the product infrastructure and is not intended to be used directly from your code. Provides services for authoring JScript code in an editor. |
![]() | JSConstructor | This API supports the product infrastructure and is not intended to be used directly from your code. Wraps a FunctionObject. |
![]() | JScriptCodeProvider | This API supports the product infrastructure and is not intended to be used directly from your code. Provides access to instances of the JScript code generator and code compiler. |
![]() | JScriptException | This API supports the product infrastructure and is not intended to be used directly from your code. The exception that is thrown by JScript to notify a common language runtime (CLR) host or program that an error occurred. A JScriptException usually takes a JSError enumeration value. |
![]() | JSField | This API supports the product infrastructure and is not intended to be used directly from your code. Supports all fields in JScript. This is the base class for all fields that are defined by JScript. This class belongs to the name binding category. |
![]() | JSFieldInfo | This API supports the product infrastructure and is not intended to be used directly from your code. Wraps a FieldInfo object. |
![]() | JSFunctionAttribute | This API supports the product infrastructure and is not intended to be used directly from your code. Used with JSFunctionAttributeEnum to annotate the calling conventions of methods and constructors that are generated by the JScript compiler. |
![]() | JSLocalField | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a local variable. |
![]() | JSMethod | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a JScript method. This class belongs to the name binding category. |
![]() | JSMethodInfo | This API supports the product infrastructure and is not intended to be used directly from your code. Wraps a MethodInfo object. |
![]() | JSObject | This API supports the product infrastructure and is not intended to be used directly from your code. Represents an object in JScript. This class belongs to the objects and functions category. |
![]() | JSParser | This API supports the product infrastructure and is not intended to be used directly from your code. Parses JScript code. This class belongs to the scanning and parsing category. For more information about scanning and parsing, see Create a Language Compiler for the .NET Framework. |
![]() | JSPrototypeObject | This API supports the product infrastructure and is not intended to be used directly from your code. Adds a constructor function property to a JSObject for early binding purposes. This class belongs to the objects and functions category. |
![]() | JSScanner | This API supports the product infrastructure and is not intended to be used directly from your code. Scans JScript code searching for individual units of code, or tokens. This class belongs to the scanning and parsing category. For more information about scanning and parsing, see Create a Language Compiler for the .NET Framework. |
![]() | JSVariableField | This API supports the product infrastructure and is not intended to be used directly from your code. Supports variable fields in JScript. This is the base class for parameters, local variables, global variables, and class members. |
![]() | LateBinding | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a reference to a class member, callable expression, or variable name. This class attempts to resolve the reference to the correct value at run time. |
![]() | LenientArrayPrototype | This API supports the product infrastructure and is not intended to be used directly from your code. Stores objects that represent the static methods of the ArrayPrototype class. The LenientArrayPrototype class belongs to the built-in object model category. |
![]() | LenientBooleanPrototype | This API supports the product infrastructure and is not intended to be used directly from your code. Stores objects that represent the static methods of the BooleanPrototype class. The LenientBooleanPrototype class belongs to the built-in object model category. |
![]() | LenientDateConstructor | This API supports the product infrastructure and is not intended to be used directly from your code. Stores objects that represent the static methods of the DateConstructor class. The LenientDateConstructor class belongs to the built-in object model category. |
![]() | LenientDatePrototype | This API supports the product infrastructure and is not intended to be used directly from your code. Stores objects that represent the static methods of the DatePrototype class. The LenientDatePrototype class belongs to the built-in object model category. |
![]() | LenientEnumeratorPrototype | This API supports the product infrastructure and is not intended to be used directly from your code. Stores objects that represent the static methods of the EnumeratorPrototype class. The LenientEnumeratorPrototype class belongs to the built-in object model category. |
![]() | LenientErrorPrototype | This API supports the product infrastructure and is not intended to be used directly from your code. Stores objects that represent the static methods of the ErrorPrototype class. The LenientErrorPrototype class belongs to the built-in object model category. |
![]() | LenientFunctionPrototype | This API supports the product infrastructure and is not intended to be used directly from your code. Stores objects that represent the static methods of the FunctionPrototype class. The LenientFunctionPrototype class belongs to the built-in object model category. |
![]() | LenientGlobalObject | This API supports the product 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. |
![]() | LenientMathObject | This API supports the product infrastructure and is not intended to be used directly from your code. Stores objects that represent the static methods of the MathObject class. The LenientMathObject class belongs to the built-in object model category. |
![]() | LenientNumberPrototype | This API supports the product infrastructure and is not intended to be used directly from your code. Stores objects that represent the static methods of the NumberPrototype class. The LenientNumberPrototype class belongs to the built-in object model category. |
![]() | LenientObjectPrototype | This API supports the product infrastructure and is not intended to be used directly from your code. Stores objects that represent the static methods of the ObjectPrototype class. The LenientObjectPrototype class belongs to the built-in object model category. |
![]() | LenientRegExpPrototype | This API supports the product infrastructure and is not intended to be used directly from your code. Stores objects that represent the static methods of the RegExpPrototype class. The LenientRegExpPrototype class belongs to the built-in object model category. |
![]() | LenientStringConstructor | This API supports the product infrastructure and is not intended to be used directly from your code. Stores objects that represent the static methods of the StringConstructor class. The LenientStringConstructor class belongs to the built-in object model category. |
![]() | LenientStringPrototype | This API supports the product infrastructure and is not intended to be used directly from your code. Stores objects that represent the static methods of the StringPrototype class. The LenientStringPrototype class belongs to the built-in object model category. |
![]() | LenientVBArrayPrototype | This API supports the product infrastructure and is not intended to be used directly from your code. Stores objects that represent the static methods of the VBArrayPrototype class. The LenientVBArrayPrototype class belongs to the built-in object model category. |
![]() | MathObject | This API supports the product infrastructure and is not intended to be used directly from your code. Provides constants and static methods for trigonometric functions, logarithmic functions, and other common mathematical functions. This class belongs to the built-in object model category. |
![]() | MemberInfoList | This API supports the product infrastructure and is not intended to be used directly from your code. Maintains a list of MemberInfo elements. |
![]() | MethodInvoker | This API supports the product infrastructure and is not intended to be used directly from your code. Represents the invoker for a particular method. Used by the JSMethodInfo class to invoke methods. |
![]() | Missing | This API supports the product infrastructure and is not intended to be used directly from your code. Represents the value of a variable that has been instantiated but that has not yet had its value set. |
![]() | Namespace | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a namespace. |
![]() | NoContextException | This API supports the product infrastructure and is not intended to be used directly from your code. The exception that is thrown when there is no code Context associated with a JScriptException. |
![]() | NotRecommended | This API supports the product infrastructure and is not intended to be used directly from your code. Indicates that a method or field is not recommended. |
![]() | NumberConstructor | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category. |
![]() | NumberObject | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a number object. This class belongs to the built-in object model category. |
![]() | NumberPrototype | This API supports the product infrastructure and is not intended to be used directly from your code. Provides static methods and properties for NumberObject objects. All methods of this class are called by passing in a reference to the object that is requesting access to the method. This class belongs to the built-in object model category. |
![]() | NumericBinary | This API supports the product infrastructure and is not intended to be used directly from your code. Performs binary operations on numeric operands. This class belongs to the abstract syntax tree category. |
![]() | NumericUnary | This API supports the product infrastructure and is not intended to be used directly from your code. Performs unary operations on numeric operands. This class belongs to the abstract syntax tree category. |
![]() | ObjectConstructor | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category. |
![]() | ObjectPrototype | This API supports the product infrastructure and is not intended to be used directly from your code. Provides static methods and properties for JSObject objects. All methods of this class are called by passing in a reference to the object that is requesting access to the method. This class belongs to the built-in object model category. |
![]() | Override | This API supports the product infrastructure and is not intended to be used directly from your code. Indicates that a method or field overrides a method or field in a base class. |
![]() | Package | This API supports the product infrastructure and is not intended to be used directly from your code. Creates packages of JScript code for use by other code. This class belongs to the abstract syntax tree category. |
![]() | ParserException | This API supports the product infrastructure and is not intended to be used directly from your code. This class is used by the JScript parser to represent parser exceptions. |
![]() | Plus | This API supports the product infrastructure and is not intended to be used directly from your code. Performs addition and concatenation operations. This class belongs to the abstract syntax tree category. |
![]() | PostOrPrefixOperator | This API supports the product infrastructure and is not intended to be used directly from your code. Performs increment and decrement operations that correspond to the prefix and postfix syntax. This class belongs to the abstract syntax tree category. |
![]() | RangeErrorObject | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a range error. For example, a range error can occur when you use an incorrect index to access an array element. |
![]() | ReferenceAttribute | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a reference to an assembly. |
![]() | ReferenceErrorObject | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a reference error. For example, a reference error can occur when you reference an undeclared variable. |
![]() | RegExpConstructor | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category. |
![]() | RegExpMatch | This API supports the product infrastructure and is not intended to be used directly from your code. Represents the results from a regular expression match. This class belongs to the built-in object model category. |
![]() | RegExpObject | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a regular expression object. This class belongs to the built-in object model category. |
![]() | RegExpPrototype | This API supports the product infrastructure and is not intended to be used directly from your code. Provides static methods and properties for RegExpObject objects. All methods of this class are called by passing in a reference to the object that is requesting access to the method. This class belongs to the built-in object model category. |
![]() | Relational | This API supports the product infrastructure and is not intended to be used directly from your code. Performs relational comparison operations. This class belongs to the abstract syntax tree category. |
![]() | ReturnOutOfFinally | This API supports the product infrastructure and is not intended to be used directly from your code. Represents the exception state when code execution returns out of a finally block. |
![]() | Runtime | This API supports the product infrastructure and is not intended to be used directly from your code. Provides utility functions. |
![]() | ScriptBlock | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a block of JScript code. This class belongs to the abstract syntax tree category. |
![]() | ScriptFunction | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a prototype-based object that is defined by a constructor function. Most of the constructor function classes, such as DateConstructor, NumberConstructor, StringConstructor, and ObjectConstructor, inherit from this class. This class belongs to the objects and functions category. |
![]() | ScriptObject | This API supports the product infrastructure and is not intended to be used directly from your code. Supports all JScript classes. This is the ultimate base class of all JScript classes. This class belongs to the objects and functions category. |
![]() | ScriptStream | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a stream of data. This class sends its data to either a COMCharStream or a Console stream. |
![]() | SimpleHashtable | This API supports the product infrastructure and is not intended to be used directly from your code. A hash table for the internal storage of items. |
![]() | StackFrame | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a stack frame for executing code. This class contains methods for resolving scope. It belongs to the compilation and run-time state category. |
![]() | StrictEquality | This API supports the product infrastructure and is not intended to be used directly from your code. Performs comparison operations. This class belongs to the abstract syntax tree category. |
![]() | StringConstructor | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category. |
![]() | StringObject | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a string object. This class belongs to the built-in object model category. |
![]() | StringPrototype | This API supports the product infrastructure and is not intended to be used directly from your code. Provides static methods and properties for StringObject objects. All methods of this class are called by passing in a reference to the object that is requesting access to the method. This class belongs to the built-in object model category. |
![]() | SuperTypeMembersSorter | This API supports the product infrastructure and is not intended to be used directly from your code. Stores members from base classes and interfaces. |
![]() | SyntaxErrorObject | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a syntax error. For example, a syntax error can occur when you omit a semicolon. |
![]() | Throw | This API supports the product infrastructure and is not intended to be used directly from your code. Throws an exception. This class belongs to the abstract syntax tree category. |
![]() | Try | This API supports the product infrastructure and is not intended to be used directly from your code. Identifies blocks of code to run in error handling scopes. This class belongs to the abstract syntax tree category. |
![]() | TypedArray | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a reflectable reference to the Array class. This class stores the element type of a typed array, but this class does not store data. |
![]() | TypeErrorObject | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a type error. For example, a type error can occur when you pass an object of one type to a method that expects an object of another type. |
![]() | Typeof | This API supports the product infrastructure and is not intended to be used directly from your code. Determines the data types of objects. This class belongs to the abstract syntax tree category. |
![]() | TypeReflector | |
![]() | UnaryOp | This API supports the product infrastructure and is not intended to be used directly from your code. Represents the base class for classes that perform operations on single operands, such as Typeof and PostOrPrefixOperator. This class belongs to the abstract syntax tree category. |
![]() | URIErrorObject | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a Uniform Resource Identifier (URI) error. For example, a URI error can occur when you try to encode or decode a URI. |
![]() | VBArrayConstructor | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category. |
![]() | VBArrayObject | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a VBArray object. This class belongs to the built-in object model category. |
![]() | VBArrayPrototype | This API supports the product infrastructure and is not intended to be used directly from your code. Provides static methods and properties for VBArrayObject objects. All methods of this class are called by passing in a reference to the object that is requesting access to the method. This class belongs to the built-in object model category. |
![]() | VsaItem | This API supports the product infrastructure and is not intended to be used directly from your code. Represents items added to the .NET script engine. This includes code items, reference items, and global items. |
![]() | VsaItems | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a collection of IVsaItem objects that can be addressed either by name or by index. |
![]() | With | This API supports the product infrastructure and is not intended to be used directly from your code. Represents the with statement. This class belongs to the abstract syntax tree category. |
| Interface | Description | |
|---|---|---|
![]() | COMMemberInfo | This API supports the product infrastructure and is not intended to be used directly from your code. Defines methods that enable JScript to communicate with an external COM member. This interface is used by an external COM implementation to expose its objects to JScript because JScript requires a managed MemberInfo to bind to an external object. |
![]() | IActivationObject | This API supports the product infrastructure and is not intended to be used directly from your code. Defines methods for resolving scope. This interface is implemented by all objects that take part in a scope hierarchy. |
![]() | IAuthorServices | This API supports the product infrastructure and is not intended to be used directly from your code. Defines services for authoring JScript code in an editor. |
![]() | IColorizeText | This API supports the product infrastructure and is not intended to be used directly from your code. Defines services for colorizing text when JScript code is being authored in an editor. |
![]() | IDebugConvert | This API supports the product infrastructure and is not intended to be used directly from your code. Defines a set of utility methods that convert data from one type to another. Includes methods that convert values to String objects so that they can be displayed by the debugger. |
![]() | IDebugConvert2 | This API supports the product infrastructure and is not intended to be used directly from your code. Defines utility methods that convert data from one type to another. Includes methods that convert values to String objects so that they can be displayed by the debugger. |
![]() | IDebuggerObject | This API supports the product infrastructure and is not intended to be used directly from your code. Defines methods that provide information about debugger objects. This interface is implemented by all IReflect objects that are implemented by the debugger. Currently, this interface serves only to flag these objects as such to the scripting engine. |
![]() | IDebugScriptScope | This API supports the product infrastructure and is not intended to be used directly from your code. Defines methods that set the this value that is associated with the global scope. Used by the VsaEngine. |
![]() | IDebugType | This API supports the product infrastructure and is not intended to be used directly from your code. Defines methods that provide information about debugger objects. This interface is implemented by debugger objects that represent a type in the debugger target. |
![]() | IDebugVsaScriptCodeItem | This API supports the product infrastructure and is not intended to be used directly from your code. Defines methods that evaluate expressions and parse strings. This interface is typically implemented by an object that represents a code block, and it is typically called by a debugger. This interface provides extra functionality that is needed by an IActiveScript host. |
![]() | IDefineEvent | This API supports the product infrastructure and is not intended to be used directly from your code. Defines extra functionality that is needed by an active script host. |
![]() | IEngine2 | This API supports the product infrastructure and is not intended to be used directly from your code. Defines extra functionality that is needed by an IActiveScript host. Implemented by the VsaEngine engine. |
![]() | IErrorHandler | This API supports the product infrastructure and is not intended to be used directly from your code. Defines methods to handle errors that occur when code is being parsed. |
![]() | IMessageReceiver | This API supports the product infrastructure and is not intended to be used directly from your code. Defines methods that receive output from a scripting engine. This interface acts as a callback object to capture output that would otherwise go to the console. |
![]() | IMethodsCompletionInfo | This API supports the product infrastructure and is not intended to be used directly from your code. This is a marker interface and has no methods. |
![]() | INeedEngine | This API supports the product infrastructure and is not intended to be used directly from your code. Defines methods that get and set references to the scripting engine. |
![]() | IObjectCompletionInfo | This API supports the product infrastructure and is not intended to be used directly from your code. This is a marker interface and has no methods. |
![]() | IParseText | This API supports the product infrastructure and is not intended to be used directly from your code. Defines methods for parsing text when JScript code is being authored in an editor. |
![]() | IRedirectOutput | This API supports the product infrastructure and is not intended to be used directly from your code. Defines methods that capture output that would otherwise go to the console. This interface is implemented by the VsaEngine. |
![]() | ISite2 | This API supports the product infrastructure and is not intended to be used directly from your code. Defines methods that are used by the VsaEngine for name resolution. Provides extra functionality that is needed by an IActiveScript host. |
![]() | ITokenColorInfo | This API supports the product infrastructure and is not intended to be used directly from your code. Defines properties for coloring specific units of code. |
![]() | ITokenEnumerator | This API supports the product infrastructure and is not intended to be used directly from your code. Defines methods for iterating over a collection of ITokenColorInfo objects. |
![]() | IVsaFullErrorInfo | This API supports the product infrastructure and is not intended to be used directly from your code. Defines properties to obtain information about errors. This interface provides extra functionality that is needed by an IActiveScript host. |
![]() | IVsaScriptCodeItem | This API supports the product infrastructure and is not intended to be used directly from your code. Defines extra functionality that is needed by an IActiveScript host. |
![]() | IVsaScriptScope | This API supports the product infrastructure and is not intended to be used directly from your code. Defines methods for resolving scope. The global scope object of the VsaEngine implements this interface. |
![]() | IWrappedMember | This API supports the product infrastructure and is not intended to be used directly from your code. Defines methods for accessing the object that a member is defined on. |
![]() | MemberInfoInitializer | This API supports the product infrastructure and is not intended to be used directly from your code. Defines methods that an external COM object must implement. This interface is used by an external COM implementation to expose its objects to JScript because JScript needs a managed MemberInfo to bind to an external object. This interface is implemented by COMFieldInfo, COMMethodInfo, and COMPropertyInfo. |
| Enumeration | Description | |
|---|---|---|
![]() | CmdLineError | This API supports the product infrastructure and is not intended to be used directly from your code. Specifies errors that occur when you run the command-line compiler jsc.exe. This enumeration is used to create CmdLineException objects. |
![]() | ErrorType | This API supports the product infrastructure and is not intended to be used directly from your code. Specifies the JScript error types. |
![]() | JSBuiltin | This API supports the product infrastructure and is not intended to be used directly from your code. Specifies the built-in JScript functions. These functions correspond to the static methods of the intrinsic JScript objects. The members of this enumeration are used to create JSFunctionAttribute objects. |
![]() | JSError | This API supports the product infrastructure and is not intended to be used directly from your code. Specifies the JScript error messages. This class belongs to the compilation and run-time state category. |
![]() | JSFunctionAttributeEnum | This API supports the product infrastructure and is not intended to be used directly from your code. Specifies the calling conventions of functions that are generated by the JScript compiler. Used with the JSFunctionAttribute custom attribute. |
![]() | JSToken | This API supports the product infrastructure and is not intended to be used directly from your code. Specifies the individual units of code, or tokens, that make up the JScript language. |
![]() | SourceState | This API supports the product infrastructure and is not intended to be used directly from your code. Specifies the state of source code text. This class is used together with other classes that provide information to color JScript code in an editor. |
![]() | TokenColor | This API supports the product infrastructure and is not intended to be used directly from your code. Specifies the colors that individual units of code should have when text is being colorized in an editor. The members of this enumeration are used by the Color property of ITokenColorInfo objects. |
![]() | VSAITEMTYPE2 | This API supports the product infrastructure and is not intended to be used directly from your code. Extends the VsaItemType enumeration. Provides extra functionality that is needed by an IActiveScript host. |


