Microsoft.JScript
Class Library Reference


.NET Framework 类库
Microsoft.JScript 命名空间

Microsoft.JScript 命名空间包含支持使用 JScript 语言编译和生成代码的类。


 说明
公共类ActivationObject 
公共类ActiveXObjectConstructor 
公共类ArgumentsObject 
公共类ArrayConstructor 
公共类ArrayLiteral 
公共类ArrayObject 
公共类ArrayPrototype 
公共类ArrayWrapper 
公共类AssemblyCustomAttributeList 
公共类AST 
公共类ASTList 
公共类BinaryOp 
公共类Binding 
公共类BitwiseBinary 
公共类Block 
公共类BlockScope 
公共类BooleanConstructor 
公共类BooleanObject 
公共类BooleanPrototype 
公共类BreakOutOfFinally 
公共类Closure 
公共类CmdLineException 
公共类CmdLineOptionParser 
公共类COMCharStream 
公共类COMFieldInfo 
公共类COMMethodInfo 
公共类COMPropertyInfo 
公共类Context 
公共类ContinueOutOfFinally 
公共类Convert 
公共类DateConstructor 
公共类DateObject 
公共类DatePrototype 
公共类DebugBreak 
公共类DebugConvert 
公共类DocumentContext 
公共类DynamicFieldInfo 
公共类Empty 
公共类EndOfFile 
公共类EnumeratorConstructor 
公共类EnumeratorObject 
公共类EnumeratorPrototype 
公共类Equality 
公共类ErrorConstructor 
公共类ErrorObject 
公共类ErrorPrototype 
公共类Eval 
公共类EvalErrorObject 
公共类Expando 
公共类FieldAccessor 
公共类ForIn 
公共类FunctionConstructor 
公共类FunctionDeclaration 
公共类FunctionExpression 
公共类FunctionObject 
公共类FunctionPrototype 
公共类FunctionWrapper 
公共类GlobalObject 
公共类Globals 
公共类GlobalScope 
公共类Hide 
公共类Import 
公共类In 
公共类Instanceof 
公共类JSAuthor 
公共类JSConstructor 
公共类JScriptCodeProvider提供对 JScript 代码生成器和代码编译器的实例的访问。
公共类JScriptException 
公共类JSField 
公共类JSFieldInfo 
公共类JSFunctionAttribute 
公共类JSLocalField 
公共类JSMethod 
公共类JSMethodInfo 
公共类JSObject 
公共类JSParser 
公共类JSPrototypeObject 
公共类JSScanner 
公共类JSVariableField 
公共类LateBinding 
公共类LenientArrayPrototype 
公共类LenientBooleanPrototype 
公共类LenientDateConstructor 
公共类LenientDatePrototype 
公共类LenientEnumeratorPrototype 
公共类LenientErrorPrototype 
公共类LenientFunctionPrototype 
公共类LenientGlobalObject 
公共类LenientMathObject 
公共类LenientNumberPrototype 
公共类LenientObjectPrototype 
公共类LenientRegExpPrototype 
公共类LenientStringConstructor 
公共类LenientStringPrototype 
公共类LenientVBArrayPrototype 
公共类MathObject 
公共类MemberInfoList 
公共类MethodInvoker 
公共类Missing 
公共类Namespace 
公共类NoContextException 
公共类NotRecommended 
公共类NumberConstructor 
公共类NumberObject 
公共类NumberPrototype 
公共类NumericBinary 
公共类NumericUnary 
公共类ObjectConstructor 
公共类ObjectPrototype 
公共类Override 
公共类Package 
公共类ParserException 
公共类Plus 
公共类PostOrPrefixOperator 
公共类RangeErrorObject 
公共类ReferenceAttribute 
公共类ReferenceErrorObject 
公共类RegExpConstructor 
公共类RegExpMatch 
公共类RegExpObject 
公共类RegExpPrototype 
公共类Relational 
公共类ReturnOutOfFinally 
公共类Runtime 
公共类ScriptBlock 
公共类ScriptFunction 
公共类ScriptObject 
公共类ScriptStream 
公共类SimpleHashtable 
公共类StackFrame 
公共类StrictEquality 
公共类StringConstructor 
公共类StringObject 
公共类StringPrototype 
公共类SuperTypeMembersSorter 
公共类SyntaxErrorObject 
公共类Throw 
公共类Try 
公共类TypedArray 
公共类TypeErrorObject 
公共类Typeof 
公共类TypeReflector 
公共类UnaryOp 
公共类URIErrorObject 
公共类VBArrayConstructor 
公共类VBArrayObject 
公共类VBArrayPrototype 
公共类VsaItem 
公共类VsaItems 
公共类With 
接口

 接口说明
公共接口COMMemberInfo由表示成员值的对象实现。它允许调用方对该值执行操作。该值可以通过 Call 方法作为函数进行调用,通过 GetValue 方法进行检索,并使用 SetValue 方法进行设置。
公共接口IActivationObject 
公共接口IAuthorServices 
公共接口IColorizeText 
公共接口IDebugConvert定义一组实用工具方法,将对象转换为基元值,将基元值转换为字符串,以及获取与 JScript 错误代码关联的错误信息。
公共接口IDebugConvert2允许客户端使用 JScript 转换语义将十进制值转换为字符串。
公共接口IDebuggerObject允许 JScript 运行库检测并处理 COM 对象,这些对象直接实现 JScript 对象,或者作为托管 JScript 对象的代理。
公共接口IDebugScriptScope由 VSA 引擎实现。借助它的单个方法,调用方可以设置与全局范围关联的“this”值。
公共接口IDebugType允许 JScript 运行库检测和处理 COM 对象,这些 COM 对象直接实现一个类型或 JScript 构造函数或作为托管类型或托管 JScript 构造函数的代理。
公共接口IDebugVsaScriptCodeItem通常由表示代码块的对象实现。(通过从 VSA 引擎获取范围对象,然后通过调用 >AddItem 将脚本块、表达式或语句添加到范围,可创建代码块。)它通常由调试器调用,满足其计算表达式(例如监视窗口中)或分析有关表示为 string 的断点的信息的需要。
公共接口IDefineEvent 
公共接口IEngine2由引擎实现。它提供一个接口,以便使用 JScript 引擎提供的额外功能。
公共接口IErrorHandler 
公共接口IMessageReceiver定义一个接口,JScript 运行库使用它来输出传递到内置打印函数的任何字符串。
公共接口IMethodsCompletionInfo 
公共接口INeedEngine 
公共接口IObjectCompletionInfo 
公共接口IParseText 
公共接口IRedirectOutput允许调用方设置 IMessageReceiver,后者用于显示传递给 JScript 内置打印函数的字符串。
公共接口ISite2 
公共接口ITokenColorInfo 
公共接口ITokenEnumerator 
公共接口IVsaFullErrorInfo 
公共接口IVsaScriptCodeItem 
公共接口IVsaScriptScope表示范围对象。VSA 引擎的全局范围对象实现该接口,该接口可以通过在 VSA 引擎上调用 GetGlobalScope 来获得。通过在现有范围对象上调用 GetItem 还可以创建新的子范围。
公共接口IWrappedMember 
公共接口MemberInfoInitializer用成员名和表示存储在成员中的值的对象初始化 COMFieldInfoCOMMethodInfoCOMPropertyInfo 的实例。可使用 GetCOMMemberInfo 检索该对象。
枚举

 枚举说明
公共枚举CmdLineError 
公共枚举ErrorType 
公共枚举JSBuiltin 
公共枚举JSError包含与 JScript 错误信息关联的错误代码。
公共枚举JSFunctionAttributeEnum与 JSFunctionAttribute 自定义属性一起使用,以批注 JScript 编译器生成的函数的调用约定。与 HasArgumentsHasEngineHasThisObject 关联的参数为隐式参数,通过 JScript 代码调用该函数时,JScript 运行库将自动提供这些参数。
公共枚举JSToken 
公共枚举SourceState 
公共枚举TokenColor 
公共枚举VSAITEMTYPE2JScript 实现接受 VSAITEMTYPE2 枚举值,但拒绝 VsaItemType 项。有关更多信息,请参见 AddItem
标记 :


Page view tracker