Microsoft.JScript Namespace

Microsoft.JScript 命名空間 (Namespace) 含有使用 JScript 語言支援編譯 (Compilation) 和程式碼產生的類別。 The Microsoft.JScript namespace contains classes that support compilation and code generation using the JScript language.

類別

ActivationObject

表示參與範圍階層架構的物件。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

表示建構函式所定義的原型架構物件。Represents a prototype-based object that is defined by a constructor function. 這個類別屬於內建物件模型分類。This class belongs to the built-in object model category.

ArgumentsObject

表示用來呼叫函式的資訊。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

表示建構函式所定義的原型架構物件。Represents a prototype-based object that is defined by a constructor function. 這個類別屬於內建物件模型分類。This class belongs to the built-in object model category.

ArrayLiteral

這個類別是由 JScript 剖析器用來代表陣列常值。This class is used by the JScript parser to represent an array literal.

ArrayObject

表示陣列物件。Represents an array object. 這個類別屬於內建物件模型分類。This class belongs to the built-in object model category.

ArrayPrototype

ArrayObject 物件提供靜態方法和屬性。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

包裝陣列以建立 JScript ArrayObjectWraps an array to create a JScript ArrayObject. 這個類別會包裝 .NET Framework Array 物件或 JScript ArrayObject 物件。This class wraps either a .NET Framework Array object or a JScript ArrayObject object.

AssemblyCustomAttributeList

這個類別是由 JScript 剖析器用來儲存指派給組件的屬性。This class is used by the JScript parser to store the attributes that are assigned to an assembly.

AST

表示用來剖析 JScript 程式碼的抽象語法樹狀結構。Represents the abstract syntax tree that is used to parse JScript code.

ASTList

維護 AST 項目的清單。Maintains a list of AST elements. 這個類別屬於抽象語法樹狀結構分類。This class belongs to the abstract syntax tree category.

BinaryOp

表示在兩個運算元上執行運算之類別 (例如 PlusEqualityRelational) 的基底類別。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.

BitwiseBinary

執行位元二進位運算。Performs bitwise binary operations. 這個類別屬於抽象語法樹狀結構分類。This class belongs to the abstract syntax tree category.

Block

表示 JScript 的區塊。Represents a block in JScript. 這個類別主要是由 JSParser 用於剖析程式碼時建立 Block 物件。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.

BlockScope

表示參與範圍階層架構而且可推入至全域範圍堆疊之程式碼區塊的範圍。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. 例如,這個類別可以表示 try 區塊的範圍。For example, this class can represent the scope of a try block.

BooleanConstructor

表示建構函式所定義的原型架構物件。Represents a prototype-based object that is defined by a constructor function. 這個類別屬於內建物件模型分類。This class belongs to the built-in object model category.

BooleanObject

表示布林物件。Represents a Boolean object. 這個類別屬於內建物件模型分類。This class belongs to the built-in object model category.

BooleanPrototype

BooleanObject 物件提供靜態方法和屬性。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

表示程式碼從 finally 區塊中斷執行時的例外狀況狀態。Represents the exception state when code execution breaks out of a finally block.

Closure

表示終止函式。Represents a closure function. 這個類別屬於物件和函式分類。This class belongs to the objects and functions category.

CmdLineException

表示在執行命令列編譯器 jsc.exe 時所發生的錯誤。Represents errors that occur when you run the command-line compiler jsc.exe.

CmdLineOptionParser

判斷指定給命令列編譯器 jsc.exe 之選項的語式是否正確,並且讀取引數 (如果包含的話)。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

表示將其資料傳送至 IMessageReceiver 的資料流。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

讓 JScript 與外部 COM 欄位通訊。Enables JScript to communicate with an external COM field. 這個類別是由外部 COM 實作用來對 JScript 公開其物件,因為 JScript 需要 Managed MemberInfo 才能繫結至外部物件。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

可讓 JScript 與外部 COM 方法通訊。Enables JScript to communicate with an external COM method. 這個類別是由外部 COM 實作用來對 JScript 公開其物件,因為 JScript 需要 Managed MemberInfo 才能繫結至外部物件。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

讓 JScript 與外部 COM 屬性通訊。Enables JScript to communicate with an external COM property. 這個類別是由外部 COM 實作用來對 JScript 公開其物件,因為 JScript 需要 Managed MemberInfo 才能繫結至外部物件。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

代表 JScript 原始程式碼。Represents JScript source code. 這個類別屬於編譯和執行階段狀態分類。This class belongs to the compilation and run-time state category.

ContinueOutOfFinally

表示程式碼從 finally 區塊繼續執行時的例外狀況狀態。Represents the exception state when code execution continues out of a finally block.

Convert

將資料從某型別轉換為另一個型別。Converts data from one type to another. 這是公用程式類別。This is a utility class.

DateConstructor

表示建構函式所定義的原型架構物件。Represents a prototype-based object that is defined by a constructor function. 這個類別屬於內建物件模型分類。This class belongs to the built-in object model category.

DateObject

表示日期物件。Represents a date object. 這個類別屬於內建物件模型分類。This class belongs to the built-in object model category.

DatePrototype

DateObject 物件提供靜態方法和屬性。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

這個類別是由 JScript 剖析器用來代表偵錯工具中的中斷點。This class is used by the JScript parser to represent a breakpoint in a debugger.

DebugConvert

將資料從某型別轉換為另一個型別。Converts data from one type to another. 包含將值轉換成 String 物件的方法,讓偵錯工具可以顯示這些物件。Includes methods that convert values to String objects so that they can be displayed by the debugger.

DocumentContext

表示以 JScript 語言撰寫的原始程式碼檔。Represents a source code file that is written in the JScript language.

DynamicFieldInfo

表示欄位資訊。Represents field information. 這個類別用來將 Expando 類別和指令碼陣列的欄位傳回至偵錯工具。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.

EndOfFile

這個類別是由 JScript 剖析器用來代表到達檔案結尾,以做為例外狀況。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

表示建構函式所定義的原型架構物件。Represents a prototype-based object that is defined by a constructor function. 這個類別屬於內建物件模型分類。This class belongs to the built-in object model category.

EnumeratorObject

表示列舉值物件。Represents an enumerator object. 這個類別屬於內建物件模型分類。This class belongs to the built-in object model category.

EnumeratorPrototype

EnumeratorObject 物件提供靜態方法和屬性。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.

ErrorConstructor

表示建構函式所定義的原型架構物件。Represents a prototype-based object that is defined by a constructor function. 這個類別屬於內建物件模型分類。This class belongs to the built-in object model category.

ErrorObject

表示錯誤物件。Represents an error object. 這個類別屬於內建物件模型分類。This class belongs to the built-in object model category.

ErrorPrototype

ErrorObject 物件提供靜態方法和屬性。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

評估 JScript 程式碼。Evaluates JScript code. 這個類別屬於抽象語法樹狀結構分類。This class belongs to the abstract syntax tree category.

EvalErrorObject

表示使用 eval 方法時所發生的錯誤。Represents an error that occurs when the eval method is used. 如需詳細資訊,請參閱 eval 方法 (Visual Studio - JScript)For more information, see eval Method (Visual Studio - JScript).

Expando

表示類別或方法是 Expando 類別或方法。Indicates that a class or method is an expando class or method.

FieldAccessor

表示欄位存取子。Represents a field accessor.

ForIn

表示 JScript for...in 陳述式。Represents the JScript for...in statement. 這個類別屬於抽象語法樹狀結構分類。This class belongs to the abstract syntax tree category.

FunctionConstructor

表示建構函式所定義的原型架構物件。Represents a prototype-based object that is defined by a constructor function. 這個類別屬於內建物件模型分類。This class belongs to the built-in object model category.

FunctionDeclaration

表示函式宣告。Represents a function declaration. 這個類別屬於抽象語法樹狀結構分類。This class belongs to the abstract syntax tree category.

FunctionExpression

表示函式物件。Represents a function object. 這個類別屬於抽象語法樹狀結構分類。This class belongs to the abstract syntax tree category.

FunctionObject

表示函式物件。Represents a function object.

FunctionPrototype

FunctionObject 物件提供靜態方法和屬性。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

將函式的成員繫結至物件。Binds the members of a function to an object.

GlobalObject

儲存常數、資料型別資訊、公用程式函式,以及原型架構物件的參考。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.

GlobalScope

表示全域範圍。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

提供在編輯器中撰寫 JScript 程式碼的服務。Provides services for authoring JScript code in an editor.

JSConstructor

包裝 FunctionObjectWraps a FunctionObject.

JScriptCodeProvider

提供存取 JScript 程式碼產生器和程式碼編譯器的執行個體。Provides access to instances of the JScript code generator and code compiler.

JScriptException

由 JScript 擲回的例外狀況,以通知 Common Language Runtime (CLR) 主機或程式,發生錯誤。The exception that is thrown by JScript to notify a common language runtime (CLR) host or program that an error occurred. JScriptException 通常會採用 JSError 列舉值。A JScriptException usually takes a JSError enumeration value.

JSField

支援 JScript 的所有欄位。Supports all fields in JScript. 這是 JScript 所定義之所有欄位的基底類別。This is the base class for all fields that are defined by JScript. 這個類別屬於名稱繫結類別。This class belongs to the name binding category.

JSFieldInfo

包裝 FieldInfo 物件。Wraps a FieldInfo object.

JSFunctionAttribute

可搭配 JSFunctionAttributeEnum 使用,為 JScript 編譯器所產生的方法和建構函式加註呼叫慣例。Used with JSFunctionAttributeEnum to annotate the calling conventions of methods and constructors that are generated by the JScript compiler.

JSLocalField

表示區域變數。Represents a local variable.

JSMethod

表示 JScript 方法。Represents a JScript method. 這個類別屬於名稱繫結類別。This class belongs to the name binding category.

JSMethodInfo

包裝 MethodInfo 物件。Wraps a MethodInfo object.

JSObject

表示 JScript 的物件。Represents an object in JScript. 這個類別屬於物件和函式分類。This class belongs to the objects and functions category.

JSParser

剖析 JScript 程式碼。Parses JScript code. 這個類別屬於掃描和剖析分類。This class belongs to the scanning and parsing category.

JSPrototypeObject

為了早期繫結,將建構函式屬性加入至 JSObjectAdds a constructor function property to a JSObject for early binding purposes. 這個類別屬於物件和函式分類。This class belongs to the objects and functions category.

JSScanner

掃描 JScript 程式碼,以搜尋個別程式碼單位或語彙基元。Scans JScript code searching for individual units of code, or tokens. 這個類別屬於掃描和剖析分類。This class belongs to the scanning and parsing category.

JSVariableField

支援 JScript 的變數欄位。Supports variable fields in JScript. 這是參數、區域變數、全域變數和類別成員的基底類別。This is the base class for parameters, local variables, global variables, and class members.

LateBinding

代表類別成員、可呼叫運算式或變數名稱的參考。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

儲存表示 ArrayPrototype 類別之靜態方法的物件。Stores objects that represent the static methods of the ArrayPrototype class. LenientArrayPrototype 類別屬於內建物件模型分類。The LenientArrayPrototype class belongs to the built-in object model category.

LenientBooleanPrototype

儲存表示 BooleanPrototype 類別之靜態方法的物件。Stores objects that represent the static methods of the BooleanPrototype class. LenientBooleanPrototype 類別屬於內建物件模型分類。The LenientBooleanPrototype class belongs to the built-in object model category.

LenientDateConstructor

儲存表示 DateConstructor 類別之靜態方法的物件。Stores objects that represent the static methods of the DateConstructor class. LenientDateConstructor 類別屬於內建物件模型分類。The LenientDateConstructor class belongs to the built-in object model category.

LenientDatePrototype

儲存表示 DatePrototype 類別之靜態方法的物件。Stores objects that represent the static methods of the DatePrototype class. LenientDatePrototype 類別屬於內建物件模型分類。The LenientDatePrototype class belongs to the built-in object model category.

LenientEnumeratorPrototype

儲存表示 EnumeratorPrototype 類別之靜態方法的物件。Stores objects that represent the static methods of the EnumeratorPrototype class. LenientEnumeratorPrototype 類別屬於內建物件模型分類。The LenientEnumeratorPrototype class belongs to the built-in object model category.

LenientErrorPrototype

儲存表示 ErrorPrototype 類別之靜態方法的物件。Stores objects that represent the static methods of the ErrorPrototype class. LenientErrorPrototype 類別屬於內建物件模型分類。The LenientErrorPrototype class belongs to the built-in object model category.

LenientFunctionPrototype

儲存表示 FunctionPrototype 類別之靜態方法的物件。Stores objects that represent the static methods of the FunctionPrototype class. LenientFunctionPrototype 類別屬於內建物件模型分類。The LenientFunctionPrototype class belongs to the built-in object model category.

LenientGlobalObject

儲存建構函式物件、資料型別資訊,以及表示 GlobalObject 類別之靜態方法的物件。Stores constructor function objects, data type information, and objects that represent the static methods of the GlobalObject class. LenientGlobalObject 類別屬於內建物件模型分類。The LenientGlobalObject class belongs to the built-in object model category.

LenientMathObject

儲存表示 MathObject 類別之靜態方法的物件。Stores objects that represent the static methods of the MathObject class. LenientMathObject 類別屬於內建物件模型分類。The LenientMathObject class belongs to the built-in object model category.

LenientNumberPrototype

儲存表示 NumberPrototype 類別之靜態方法的物件。Stores objects that represent the static methods of the NumberPrototype class. LenientNumberPrototype 類別屬於內建物件模型分類。The LenientNumberPrototype class belongs to the built-in object model category.

LenientObjectPrototype

儲存表示 ObjectPrototype 類別之靜態方法的物件。Stores objects that represent the static methods of the ObjectPrototype class. LenientObjectPrototype 類別屬於內建物件模型分類。The LenientObjectPrototype class belongs to the built-in object model category.

LenientRegExpPrototype

儲存表示 RegExpPrototype 類別之靜態方法的物件。Stores objects that represent the static methods of the RegExpPrototype class. LenientRegExpPrototype 類別屬於內建物件模型分類。The LenientRegExpPrototype class belongs to the built-in object model category.

LenientStringConstructor

儲存表示 StringConstructor 類別之靜態方法的物件。Stores objects that represent the static methods of the StringConstructor class. LenientStringConstructor 類別屬於內建物件模型分類。The LenientStringConstructor class belongs to the built-in object model category.

LenientStringPrototype

儲存表示 StringPrototype 類別之靜態方法的物件。Stores objects that represent the static methods of the StringPrototype class. LenientStringPrototype 類別屬於內建物件模型分類。The LenientStringPrototype class belongs to the built-in object model category.

LenientVBArrayPrototype

儲存表示 VBArrayPrototype 類別之靜態方法的物件。Stores objects that represent the static methods of the VBArrayPrototype class. LenientVBArrayPrototype 類別屬於內建物件模型分類。The LenientVBArrayPrototype class belongs to the built-in object model category.

MathObject

提供三角函數、對數函數和其他一般數學函數的常數和靜態方法。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

維護 MemberInfo 項目的清單。Maintains a list of MemberInfo elements.

MethodInvoker

表示特定方法的呼叫端。Represents the invoker for a particular method. JSMethodInfo 類別用來叫用方法。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.

NoContextException

當沒有與 Context 相關聯的程式碼 JScriptException 時,所擲回的例外狀況。The exception that is thrown when there is no code Context associated with a JScriptException.

NotRecommended

表示不建議使用方法或欄位。Indicates that a method or field is not recommended.

NumberConstructor

表示建構函式所定義的原型架構物件。Represents a prototype-based object that is defined by a constructor function. 這個類別屬於內建物件模型分類。This class belongs to the built-in object model category.

NumberObject

表示 Number 物件。Represents a number object. 這個類別屬於內建物件模型分類。This class belongs to the built-in object model category.

NumberPrototype

NumberObject 物件提供靜態方法和屬性。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

在數字運算元上執行二進位運算。Performs binary operations on numeric operands. 這個類別屬於抽象語法樹狀結構分類。This class belongs to the abstract syntax tree category.

NumericUnary

在數字運算元上執行一元運算。Performs unary operations on numeric operands. 這個類別屬於抽象語法樹狀結構分類。This class belongs to the abstract syntax tree category.

ObjectConstructor

表示建構函式所定義的原型架構物件。Represents a prototype-based object that is defined by a constructor function. 這個類別屬於內建物件模型分類。This class belongs to the built-in object model category.

ObjectPrototype

JSObject 物件提供靜態方法和屬性。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

建立 JScript 程式碼的套件,以供其他程式碼使用。Creates packages of JScript code for use by other code. 這個類別屬於抽象語法樹狀結構分類。This class belongs to the abstract syntax tree category.

ParserException

這個類別是由 JScript 剖析器用來代表剖析器例外狀況。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.

PostOrPrefixOperator

執行分別對應於前置詞和後置詞語法的遞增和遞減運算。Performs increment and decrement operations that correspond to the prefix and postfix syntax. 這個類別屬於抽象語法樹狀結構分類。This class belongs to the abstract syntax tree category.

RangeErrorObject

表示範圍錯誤。Represents a range error. 例如,當您使用不正確的索引來存取陣列元素時,就會發生範圍錯誤。For example, a range error can occur when you use an incorrect index to access an array element.

ReferenceAttribute

代表組件的參考。Represents a reference to an assembly.

ReferenceErrorObject

表示參考錯誤。Represents a reference error. 例如,當您參考未宣告的變數時,就會發生參考錯誤。For example, a reference error can occur when you reference an undeclared variable.

RegExpConstructor

表示建構函式所定義的原型架構物件。Represents a prototype-based object that is defined by a constructor function. 這個類別屬於內建物件模型分類。This class belongs to the built-in object model category.

RegExpMatch

表示規則運算式 (Regular Expression) 比對的結果。Represents the results from a regular expression match. 這個類別屬於內建物件模型分類。This class belongs to the built-in object model category.

RegExpObject

表示規則運算式物件。Represents a regular expression object. 這個類別屬於內建物件模型分類。This class belongs to the built-in object model category.

RegExpPrototype

RegExpObject 物件提供靜態方法和屬性。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.

ReturnOutOfFinally

表示程式碼執行從 finally 區塊傳回時的例外狀況狀態。Represents the exception state when code execution returns out of a finally block.

Runtime

提供公用程式函式。Provides utility functions.

ScriptBlock

表示 JScript 程式碼區塊。Represents a block of JScript code. 這個類別屬於抽象語法樹狀結構分類。This class belongs to the abstract syntax tree category.

ScriptFunction

表示建構函式所定義的原型架構物件。Represents a prototype-based object that is defined by a constructor function. 大部分建構函式類別 (例如 DateConstructorNumberConstructorStringConstructorObjectConstructor) 都是繼承自這個類別。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

支援所有 JScript 類別。Supports all JScript classes. 這是所有 JScript 類別的最終基底類別。This is the ultimate base class of all JScript classes. 這個類別屬於物件和函式分類。This class belongs to the objects and functions category.

ScriptStream

表示資料流。Represents a stream of data. 這個類別會將其資料傳送至 COMCharStreamConsole 資料流。This class sends its data to either a COMCharStream or a Console stream.

SimpleHashtable

用於內部儲存項目的雜湊資料表。A hash table for the internal storage of items.

StackFrame

表示用來執行程式碼的堆疊框架。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

執行比較運算。Performs comparison operations. 這個類別屬於抽象語法樹狀結構分類。This class belongs to the abstract syntax tree category.

StringConstructor

表示建構函式所定義的原型架構物件。Represents a prototype-based object that is defined by a constructor function. 這個類別屬於內建物件模型分類。This class belongs to the built-in object model category.

StringObject

表示字串物件。Represents a string object. 這個類別屬於內建物件模型分類。This class belongs to the built-in object model category.

StringPrototype

StringObject 物件提供靜態方法和屬性。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

儲存來自基底類別和介面的成員。Stores members from base classes and interfaces.

SyntaxErrorObject

表示語法錯誤。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.

TypedArray

表示 Array 類別的可反映參考。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

表示型別錯誤。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.

TypeReflector

提供比 GetMember(String, BindingFlags) 更快速的 GetMember(String, BindingFlags) 實作。Provides an implementation of GetMember(String, BindingFlags) that is faster than GetMember(String, BindingFlags).

UnaryOp

表示在單一運算元上執行運算之類別 (例如 TypeofPostOrPrefixOperator) 的基底類別。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

表示統一資源識別元 (URI) 錯誤。Represents a Uniform Resource Identifier (URI) error. 例如,當您嘗試編碼或解碼 URI 時,就會發生 URI 錯誤。For example, a URI error can occur when you try to encode or decode a URI.

VBArrayConstructor

表示建構函式所定義的原型架構物件。Represents a prototype-based object that is defined by a constructor function. 這個類別屬於內建物件模型分類。This class belongs to the built-in object model category.

VBArrayObject

表示 VBArray 物件。Represents a VBArray object. 這個類別屬於內建物件模型分類。This class belongs to the built-in object model category.

VBArrayPrototype

VBArrayObject 物件提供靜態方法和屬性。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

表示加入至 .NET 指令碼引擎的項目。Represents items added to the .NET script engine. 這包括程式碼項目、參考項目和全域項目。This includes code items, reference items, and global items.

VsaItems

表示 IJSVsaItem 物件的集合,依名稱或索引可定位這些物件。Represents a collection of IJSVsaItem objects that can be addressed either by name or by index.

With

表示 with 陳述式。Represents the with statement. 這個類別屬於抽象語法樹狀結構分類。This class belongs to the abstract syntax tree category.

介面

COMMemberInfo

定義方法讓 JScript 與外部 COM 成員通訊。Defines methods that enable JScript to communicate with an external COM member. 這個介面是由外部 COM 實作用來對 JScript 公開其物件,因為 JScript 需要 Managed MemberInfo 才能繫結至外部物件。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

定義用來解析範圍的方法。Defines methods for resolving scope. 所有參與範圍階層架構的物件都會實作這個介面。This interface is implemented by all objects that take part in a scope hierarchy.

IAuthorServices

定義在編輯器中撰寫 JScript 程式碼的服務。Defines services for authoring JScript code in an editor.

IColorizeText

定義在編輯器中撰寫 JScript 程式碼時以色彩標示文字的服務。Defines services for colorizing text when JScript code is being authored in an editor.

IDebugConvert

定義將資料從一個型別轉換為另一個型別的一組公用程式方法。Defines a set of utility methods that convert data from one type to another. 包含將值轉換成 String 物件的方法,讓偵錯工具可以顯示這些物件。Includes methods that convert values to String objects so that they can be displayed by the debugger.

IDebugConvert2

定義將資料從一個型別轉換為另一個型別的公用程式方法。Defines utility methods that convert data from one type to another. 包含將值轉換成 String 物件的方法,讓偵錯工具可以顯示這些物件。Includes methods that convert values to String objects so that they can be displayed by the debugger.

IDebuggerObject

定義用來提供偵錯工具物件資訊的方法。Defines methods that provide information about debugger objects. 偵錯工具實作的所有 IReflect 物件都會實作這個介面。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 值。Defines methods that set the this value that is associated with the global scope. VsaEngine 使用。Used by the VsaEngine.

IDebugType

定義用來提供偵錯工具物件資訊的方法。Defines methods that provide information about debugger objects. 表示偵錯工具目標中之型別的偵錯工具物件會實作這個介面。This interface is implemented by debugger objects that represent a type in the debugger target.

IDebugVsaScriptCodeItem

定義用來評估運算式及剖析字串的方法。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. 這個介面會提供 IActiveScript 主機所需的額外功能。This interface provides extra functionality that is needed by an IActiveScript host.

IDefineEvent

定義作用中指令碼主機所需的額外功能。Defines extra functionality that is needed by an active script host.

IEngine2

定義 IActiveScript 主機所需的額外功能。Defines extra functionality that is needed by an IActiveScript host. VsaEngine 引擎實作。Implemented by the VsaEngine engine.

IErrorHandler

定義方法,以處理剖析程式碼時所發生的錯誤。Defines methods to handle errors that occur when code is being parsed.

IMessageReceiver

定義用來接收指令碼引擎輸出的方法。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 is a marker interface and has no methods.

INeedEngine

定義用來取得及設定指令碼引擎參考的方法。Defines methods that get and set references to the scripting engine.

IObjectCompletionInfo

這是沒有方法的標記介面。This is a marker interface and has no methods.

IParseText

定義用於編輯器中撰寫 JScript 程式碼時剖析文字的方法。Defines methods for parsing text when JScript code is being authored in an editor.

IRedirectOutput

定義方法,以擷取顯示到主控台的輸出。Defines methods that capture output that would otherwise go to the console. 這個介面是由 VsaEngine 所實作。This interface is implemented by the VsaEngine.

ISite2

定義 VsaEngine 用於名稱解析的方法。Defines methods that are used by the VsaEngine for name resolution. 提供 IActiveScript 主機所需的額外功能。Provides extra functionality that is needed by an IActiveScript host.

ITokenColorInfo

定義以色彩標示特定程式碼單位的屬性。Defines properties for coloring specific units of code.

ITokenEnumerator

定義用來逐一查看 ITokenColorInfo 物件集合的方法。Defines methods for iterating over a collection of ITokenColorInfo objects.

IVsaFullErrorInfo

定義屬性,以取得錯誤的相關資訊。Defines properties to obtain information about errors. 這個介面會提供 IActiveScript 主機所需的額外功能。This interface provides extra functionality that is needed by an IActiveScript host.

IVsaScriptCodeItem

定義 IActiveScript 主機所需的額外功能。Defines extra functionality that is needed by an IActiveScript host.

IVsaScriptScope

定義用來解析範圍的方法。Defines methods for resolving scope. VsaEngine 的全域範圍物件會實作這個介面。The global scope object of the VsaEngine implements this interface.

IWrappedMember

定義方法,以存取定義成員所在的物件。Defines methods for accessing the object that a member is defined on.

MemberInfoInitializer

定義外部 COM 物件必須實作的方法。Defines methods that an external COM object must implement. 這個介面是由外部 COM 實作用來對 JScript 公開其物件,因為 JScript 需要 Managed MemberInfo 才能繫結至外部物件。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. 這個介面是由 COMFieldInfoCOMMethodInfoCOMPropertyInfo 所實作。This interface is implemented by COMFieldInfo, COMMethodInfo, and COMPropertyInfo.

列舉

CmdLineError

指定在執行命令列編譯器 jsc.exe 時所發生的錯誤。 這個列舉型別用來建立 CmdLineException 物件。This enumeration is used to create CmdLineException objects.

ErrorType

指定 JScript 錯誤類型。Specifies the JScript error types.

JSBuiltin

指定內建的 JScript 函式。 這些函式對應於內建 JScript 物件的靜態方法。 這個列舉型別的成員用於建立 JSFunctionAttribute 物件。The members of this enumeration are used to create JSFunctionAttribute objects.

JSError

指定 JScript 錯誤訊息。Specifies the JScript error messages. 這個類別屬於編譯和執行階段狀態分類。This class belongs to the compilation and run-time state category.

JSFunctionAttributeEnum

指定 JScript 編譯器所產生之函式的呼叫慣例。Specifies the calling conventions of functions that are generated by the JScript compiler. 可搭配 JSFunctionAttribute 自訂屬性使用。Used with the JSFunctionAttribute custom attribute.

JSToken

指定組成 JScript 語言的個別程式碼單位或「權杖」。Specifies the individual units of code, or tokens, that make up the JScript language.

SourceState

指定原始程式碼文字的狀態。Specifies the state of source code text. 這個類別與其他類別一起使用,這些類別會提供資訊以便在編輯器中以色彩標示 JScript 程式碼。This class is used together with other classes that provide information to color JScript code in an editor.

TokenColor

指定在編輯器中以色彩標示文字時,個別程式碼單位應該有的色彩。Specifies the colors that individual units of code should have when text is being colorized in an editor. Color 物件的 ITokenColorInfo 屬性會使用這個列舉型別的成員。The members of this enumeration are used by the Color property of ITokenColorInfo objects.

VSAITEMTYPE2

擴充 JSVsaItemType 列舉型別。Extends the JSVsaItemType enumeration. 提供 IActiveScript 主機所需的額外功能。Provides extra functionality that is needed by an IActiveScript host.