Microsoft.JScript Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains classes that support compilation and code generation using the JScript language.
Activation |
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. |
Active |
Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category. |
Arguments |
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. |
Array |
Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category. |
Array |
This class is used by the JScript parser to represent an array literal. |
Array |
Represents an array object. This class belongs to the built-in object model category. |
Array |
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. |
Array |
Wraps an array to create a JScript ArrayObject. This class wraps either a .NET Framework Array object or a JScript ArrayObject object. |
Assembly |
This class is used by the JScript parser to store the attributes that are assigned to an assembly. |
AST |
Represents the abstract syntax tree that is used to parse JScript code. |
ASTList |
Maintains a list of AST elements. This class belongs to the abstract syntax tree category. |
Binary |
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 |
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. |
Bitwise |
Performs bitwise binary operations. This class belongs to the abstract syntax tree category. |
Block |
Represents a block in JScript. This class is used mainly by the JSParser to create Block objects when it parses code. This class belongs to the abstract syntax tree category. |
Block |
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 |
Boolean |
Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category. |
Boolean |
Represents a Boolean object. This class belongs to the built-in object model category. |
Boolean |
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. |
Break |
Represents the exception state when code execution breaks out of a |
Closure |
Represents a closure function. This class belongs to the objects and functions category. |
Cmd |
Represents errors that occur when you run the command-line compiler jsc.exe. |
Cmd |
Determines whether options that are specified to the command-line compiler jsc.exe are correctly formed, and reads the arguments if any are included. |
COMChar |
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. |
COMField |
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. |
COMMethod |
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. |
COMProperty |
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 |
Represents JScript source code. This class belongs to the compilation and run-time state category. |
Continue |
Represents the exception state when code execution continues out of a |
Convert |
Converts data from one type to another. This is a utility class. |
Date |
Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category. |
Date |
Represents a date object. This class belongs to the built-in object model category. |
Date |
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. |
Debug |
This class is used by the JScript parser to represent a breakpoint in a debugger. |
Debug |
Converts data from one type to another. Includes methods that convert values to String objects so that they can be displayed by the debugger. |
Document |
Represents a source code file that is written in the JScript language. |
Dynamic |
Represents field information. This class is used to return fields of expando classes and script arrays to the debugger. |
Empty |
Represents the value of a variable that has not been instantiated. |
End |
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. |
Enumerator |
Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category. |
Enumerator |
Represents an enumerator object. This class belongs to the built-in object model category. |
Enumerator |
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 |
Performs comparison operations. This class belongs to the abstract syntax tree category. |
Error |
Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category. |
Error |
Represents an error object. This class belongs to the built-in object model category. |
Error |
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 |
Evaluates JScript code. This class belongs to the abstract syntax tree category. |
Eval |
Represents an error that occurs when the |
Expando |
Indicates that a class or method is an expando class or method. |
Field |
Represents a field accessor. |
For |
Represents the JScript |
Function |
Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category. |
Function |
Represents a function declaration. This class belongs to the abstract syntax tree category. |
Function |
Represents a function object. This class belongs to the abstract syntax tree category. |
Function |
Represents a function object. |
Function |
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. |
Function |
Binds the members of a function to an object. |
Global |
Stores constants, data type information, utility functions, and references to prototype-based objects. This class belongs to the built-in object model category. |
Globals |
Stores references to all globally available types and manages the stack. This class belongs to the compilation and run-time state category. |
Global |
Represents the global scope. |
Hide |
Indicates that a method or field hides a method or field in a base class. |
Import |
Imports namespaces for use in code. This class belongs to the abstract syntax tree category. |
In |
Determines whether an object is contained in another object. This class belongs to the abstract syntax tree category. |
Instanceof |
Determines whether an object can be coerced to the type of another object. This class belongs to the abstract syntax tree category. |
JSAuthor |
Provides services for authoring JScript code in an editor. |
JSConstructor |
Wraps a FunctionObject. |
JScript |
Provides access to instances of the JScript code generator and code compiler. |
JScript |
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 |
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. |
JSField |
Wraps a FieldInfo object. |
JSFunction |
Used with JSFunctionAttributeEnum to annotate the calling conventions of methods and constructors that are generated by the JScript compiler. |
JSLocal |
Represents a local variable. |
JSMethod |
Represents a JScript method. This class belongs to the name binding category. |
JSMethod |
Wraps a MethodInfo object. |
JSObject |
Represents an object in JScript. This class belongs to the objects and functions category. |
JSParser |
Parses JScript code. This class belongs to the scanning and parsing category. |
JSPrototype |
Adds a constructor function property to a JSObject for early binding purposes. This class belongs to the objects and functions category. |
JSScanner |
Scans JScript code searching for individual units of code, or tokens. This class belongs to the scanning and parsing category. |
JSVariable |
Supports variable fields in JScript. This is the base class for parameters, local variables, global variables, and class members. |
Late |
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. |
Lenient |
Stores objects that represent the static methods of the ArrayPrototype class. The LenientArrayPrototype class belongs to the built-in object model category. |
Lenient |
Stores objects that represent the static methods of the BooleanPrototype class. The LenientBooleanPrototype class belongs to the built-in object model category. |
Lenient |
Stores objects that represent the static methods of the DateConstructor class. The LenientDateConstructor class belongs to the built-in object model category. |
Lenient |
Stores objects that represent the static methods of the DatePrototype class. The LenientDatePrototype class belongs to the built-in object model category. |
Lenient |
Stores objects that represent the static methods of the EnumeratorPrototype class. The LenientEnumeratorPrototype class belongs to the built-in object model category. |
Lenient |
Stores objects that represent the static methods of the ErrorPrototype class. The LenientErrorPrototype class belongs to the built-in object model category. |
Lenient |
Stores objects that represent the static methods of the FunctionPrototype class. The LenientFunctionPrototype class belongs to the built-in object model category. |
Lenient |
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. |
Lenient |
Stores objects that represent the static methods of the MathObject class. The LenientMathObject class belongs to the built-in object model category. |
Lenient |
Stores objects that represent the static methods of the NumberPrototype class. The LenientNumberPrototype class belongs to the built-in object model category. |
Lenient |
Stores objects that represent the static methods of the ObjectPrototype class. The LenientObjectPrototype class belongs to the built-in object model category. |
Lenient |
Stores objects that represent the static methods of the RegExpPrototype class. The LenientRegExpPrototype class belongs to the built-in object model category. |
Lenient |
Stores objects that represent the static methods of the StringConstructor class. The LenientStringConstructor class belongs to the built-in object model category. |
Lenient |
Stores objects that represent the static methods of the StringPrototype class. The LenientStringPrototype class belongs to the built-in object model category. |
Lenient |
Stores objects that represent the static methods of the VBArrayPrototype class. The LenientVBArrayPrototype class belongs to the built-in object model category. |
Math |
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. |
Member |
Maintains a list of MemberInfo elements. |
Method |
Represents the invoker for a particular method. Used by the JSMethodInfo class to invoke methods. |
Missing |
Represents the value of a variable that has been instantiated but that has not yet had its value set. |
Namespace |
Represents a namespace. |
No |
The exception that is thrown when there is no code Context associated with a JScriptException. |
Not |
Indicates that a method or field is not recommended. |
Number |
Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category. |
Number |
Represents a number object. This class belongs to the built-in object model category. |
Number |
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. |
Numeric |
Performs binary operations on numeric operands. This class belongs to the abstract syntax tree category. |
Numeric |
Performs unary operations on numeric operands. This class belongs to the abstract syntax tree category. |
Object |
Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category. |
Object |
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 |
Indicates that a method or field overrides a method or field in a base class. |
Package |
Creates packages of JScript code for use by other code. This class belongs to the abstract syntax tree category. |
Parser |
This class is used by the JScript parser to represent parser exceptions. |
Plus |
Performs addition and concatenation operations. This class belongs to the abstract syntax tree category. |
Post |
Performs increment and decrement operations that correspond to the prefix and postfix syntax. This class belongs to the abstract syntax tree category. |
Range |
Represents a range error. For example, a range error can occur when you use an incorrect index to access an array element. |
Reference |
Represents a reference to an assembly. |
Reference |
Represents a reference error. For example, a reference error can occur when you reference an undeclared variable. |
Reg |
Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category. |
Reg |
Represents the results from a regular expression match. This class belongs to the built-in object model category. |
Reg |
Represents a regular expression object. This class belongs to the built-in object model category. |
Reg |
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 |
Performs relational comparison operations. This class belongs to the abstract syntax tree category. |
Return |
Represents the exception state when code execution returns out of a |
Runtime |
Provides utility functions. |
Script |
Represents a block of JScript code. This class belongs to the abstract syntax tree category. |
Script |
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. |
Script |
Supports all JScript classes. This is the ultimate base class of all JScript classes. This class belongs to the objects and functions category. |
Script |
Represents a stream of data. This class sends its data to either a COMCharStream or a Console stream. |
Simple |
A hash table for the internal storage of items. |
Stack |
Represents a stack frame for executing code. This class contains methods for resolving scope. It belongs to the compilation and run-time state category. |
Strict |
Performs comparison operations. This class belongs to the abstract syntax tree category. |
String |
Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category. |
String |
Represents a string object. This class belongs to the built-in object model category. |
String |
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. |
Super |
Stores members from base classes and interfaces. |
Syntax |
Represents a syntax error. For example, a syntax error can occur when you omit a semicolon. |
Throw |
Throws an exception. This class belongs to the abstract syntax tree category. |
Try |
Identifies blocks of code to run in error handling scopes. This class belongs to the abstract syntax tree category. |
Typed |
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. |
Type |
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 |
Determines the data types of objects. This class belongs to the abstract syntax tree category. |
Type |
Provides an implementation of GetMember(String, BindingFlags) that is faster than GetMember(String, BindingFlags). |
Unary |
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. |
URIError |
Represents a Uniform Resource Identifier (URI) error. For example, a URI error can occur when you try to encode or decode a URI. |
VBArray |
Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category. |
VBArray |
Represents a VBArray object. This class belongs to the built-in object model category. |
VBArray |
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. |
Vsa |
Represents items added to the .NET script engine. This includes code items, reference items, and global items. |
Vsa |
Represents a collection of IJSVsaItem objects that can be addressed either by name or by index. |
With |
Represents the |
COMMember |
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. |
IActivation |
Defines methods for resolving scope. This interface is implemented by all objects that take part in a scope hierarchy. |
IAuthor |
Defines services for authoring JScript code in an editor. |
IColorize |
Defines services for colorizing text when JScript code is being authored in an editor. |
IDebug |
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. |
IDebug |
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. |
IDebugger |
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. |
IDebug |
Defines methods that set the |
IDebug |
Defines methods that provide information about debugger objects. This interface is implemented by debugger objects that represent a type in the debugger target. |
IDebug |
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. |
IDefine |
Defines extra functionality that is needed by an active script host. |
IEngine2 |
Defines extra functionality that is needed by an IActiveScript host. Implemented by the VsaEngine engine. |
IError |
Defines methods to handle errors that occur when code is being parsed. |
IMessage |
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. |
IMethods |
This is a marker interface and has no methods. |
INeed |
Defines methods that get and set references to the scripting engine. |
IObject |
This is a marker interface and has no methods. |
IParse |
Defines methods for parsing text when JScript code is being authored in an editor. |
IRedirect |
Defines methods that capture output that would otherwise go to the console. This interface is implemented by the VsaEngine. |
ISite2 |
Defines methods that are used by the VsaEngine for name resolution. Provides extra functionality that is needed by an IActiveScript host. |
IToken |
Defines properties for coloring specific units of code. |
IToken |
Defines methods for iterating over a collection of ITokenColorInfo objects. |
IVsa |
Defines properties to obtain information about errors. This interface provides extra functionality that is needed by an IActiveScript host. |
IVsa |
Defines extra functionality that is needed by an IActiveScript host. |
IVsa |
Defines methods for resolving scope. The global scope object of the VsaEngine implements this interface. |
IWrapped |
Defines methods for accessing the object that a member is defined on. |
Member |
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. |
Cmd |
Specifies errors that occur when you run the command-line compiler jsc.exe. This enumeration is used to create CmdLineException objects. |
Error |
Specifies the JScript error types. |
JSBuiltin |
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 |
Specifies the JScript error messages. This class belongs to the compilation and run-time state category. |
JSFunction |
Specifies the calling conventions of functions that are generated by the JScript compiler. Used with the JSFunctionAttribute custom attribute. |
JSToken |
Specifies the individual units of code, or tokens, that make up the JScript language. |
Source |
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. |
Token |
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 |
Extends the JSVsaItemType enumeration. Provides extra functionality that is needed by an IActiveScript host. |
.NET に関するフィードバック
.NET はオープンソース プロジェクトです。 フィードバックを提供するにはリンクを選択します。