Microsoft.JScript
MSDN Home
MSDN
MSDN Library
.NET 开发
先前版本
.NET Framework SDK 2.0
Class Library Reference
Microsoft.JScript
ActivationObject 类
ActiveXObjectConstructor 类
ArgumentsObject 类
ArrayConstructor 类
ArrayLiteral 类
ArrayObject 类
ArrayPrototype 类
ArrayWrapper 类
AssemblyCustomAttributeList 类
AST 类
ASTList 类
BinaryOp 类
Binding 类
BitwiseBinary 类
Block 类
BlockScope 类
BooleanConstructor 类
BooleanObject 类
BooleanPrototype 类
BreakOutOfFinally 类
Closure 类
CmdLineError 枚举
CmdLineException 类
CmdLineOptionParser 类
COMCharStream 类
COMFieldInfo 类
COMMemberInfo 接口
COMMethodInfo 类
COMPropertyInfo 类
Context 类
ContinueOutOfFinally 类
Convert 类
DateConstructor 类
DateObject 类
DatePrototype 类
DebugBreak 类
DebugConvert 类
DocumentContext 类
DynamicFieldInfo 类
Empty 类
EndOfFile 类
EnumeratorConstructor 类
EnumeratorObject 类
EnumeratorPrototype 类
Equality 类
ErrorConstructor 类
ErrorObject 类
ErrorPrototype 类
ErrorType 枚举
Eval 类
EvalErrorObject 类
Expando 类
FieldAccessor 类
ForIn 类
FunctionConstructor 类
FunctionDeclaration 类
FunctionExpression 类
FunctionObject 类
FunctionPrototype 类
FunctionWrapper 类
GlobalObject 类
Globals 类
GlobalScope 类
Hide 类
IActivationObject 接口
IAuthorServices 接口
IColorizeText 接口
IDebugConvert 接口
IDebugConvert2 接口
IDebuggerObject 接口
IDebugScriptScope 接口
IDebugType 接口
IDebugVsaScriptCodeItem 接口
IDefineEvent 接口
IEngine2 接口
IErrorHandler 接口
IMessageReceiver 接口
IMethodsCompletionInfo 接口
Import 类
In 类
INeedEngine 接口
Instanceof 类
IObjectCompletionInfo 接口
IParseText 接口
IRedirectOutput 接口
ISite2 接口
ITokenColorInfo 接口
ITokenEnumerator 接口
IVsaFullErrorInfo 接口
IVsaScriptCodeItem 接口
IVsaScriptScope 接口
IWrappedMember 接口
JSAuthor 类
JSBuiltin 枚举
JSConstructor 类
JScriptCodeProvider 类
JScriptException 类
JSError 枚举
JSField 类
JSFieldInfo 类
JSFunctionAttribute 类
JSFunctionAttributeEnum 枚举
JSLocalField 类
JSMethod 类
JSMethodInfo 类
JSObject 类
JSParser 类
JSPrototypeObject 类
JSScanner 类
JSToken 枚举
JSVariableField 类
LateBinding 类
LenientArrayPrototype 类
LenientBooleanPrototype 类
LenientDateConstructor 类
LenientDatePrototype 类
LenientEnumeratorPrototype 类
LenientErrorPrototype 类
LenientFunctionPrototype 类
LenientGlobalObject 类
LenientMathObject 类
LenientNumberPrototype 类
LenientObjectPrototype 类
LenientRegExpPrototype 类
LenientStringConstructor 类
LenientStringPrototype 类
LenientVBArrayPrototype 类
MathObject 类
MemberInfoInitializer 接口
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 类
SourceState 枚举
StackFrame 类
StrictEquality 类
StringConstructor 类
StringObject 类
StringPrototype 类
SuperTypeMembersSorter 类
SyntaxErrorObject 类
Throw 类
TokenColor 枚举
Try 类
TypedArray 类
TypeErrorObject 类
Typeof 类
TypeReflector 类
UnaryOp 类
URIErrorObject 类
VBArrayConstructor 类
VBArrayObject 类
VBArrayPrototype 类
VsaItem 类
VsaItems 类
VSAITEMTYPE2 枚举
With 类
Class Library Reference
( Default Namespace )
Accessibility
IEHost.Execute
Microsoft.Aspnet.Snapin
Microsoft.Build.BuildEngine
Microsoft.Build.Framework
Microsoft.Build.Tasks
Microsoft.Build.Tasks.Deployme ...
Microsoft.Build.Tasks.Deployme ...
Microsoft.Build.Tasks.Hosting
Microsoft.Build.Utilities
Microsoft.CLRAdmin
Microsoft.CSharp
Microsoft.IE
Microsoft.JScript
Microsoft.JScript.Vsa
Microsoft.SqlServer.Server
Microsoft.VisualBasic
Microsoft.VisualBasic.Applicat ...
Microsoft.VisualBasic.Compiler ...
Microsoft.VisualBasic.Devices
Microsoft.VisualBasic.FileIO
Microsoft.VisualBasic.Logging
Microsoft.VisualBasic.MyServic ...
Microsoft.VisualBasic.MyServic ...
Microsoft.VisualBasic.Vsa
Microsoft.VisualC
Microsoft.Vsa
Microsoft.Vsa.Vb.CodeDOM
Microsoft.Win32
Microsoft.Win32.SafeHandles
Microsoft.WindowsCE.Forms
Microsoft.WindowsMobile.Direct ...
Microsoft.WindowsMobile.Direct ...
Microsoft_VsaVb
System
System.CodeDom
System.CodeDom.Compiler
System.Collections
System.Collections.Generic
System.Collections.ObjectModel
System.Collections.Specialized
System.ComponentModel
System.ComponentModel.Design
System.ComponentModel.Design.D ...
System.ComponentModel.Design.S ...
System.Configuration
System.Configuration.Assemblie ...
System.Configuration.Install
System.Configuration.Internal
System.Configuration.Provider
System.Data
System.Data.Common
System.Data.Design
System.Data.Odbc
System.Data.OleDb
System.Data.OracleClient
System.Data.Sql
System.Data.SqlClient
System.Data.SqlServerCe
System.Data.SqlTypes
System.Deployment.Application
System.Deployment.Internal
System.Diagnostics
System.Diagnostics.CodeAnalysi ...
System.Diagnostics.Design
System.Diagnostics.SymbolStore
System.DirectoryServices
System.DirectoryServices.Activ ...
System.DirectoryServices.Proto ...
System.Drawing
System.Drawing.Design
System.Drawing.Drawing2D
System.Drawing.Imaging
System.Drawing.Printing
System.Drawing.Text
System.EnterpriseServices
System.EnterpriseServices.Comp ...
System.EnterpriseServices.Inte ...
System.Globalization
System.IO
System.IO.Compression
System.IO.IsolatedStorage
System.IO.Ports
System.Management
System.Management.Instrumentat ...
System.Media
System.Messaging
System.Messaging.Design
System.Net
System.Net.Cache
System.Net.Configuration
System.Net.Mail
System.Net.Mime
System.Net.NetworkInformation
System.Net.Security
System.Net.Sockets
System.Reflection
System.Reflection.Emit
System.Resources
System.Resources.Tools
System.Runtime
System.Runtime.CompilerService ...
System.Runtime.ConstrainedExec ...
System.Runtime.Hosting
System.Runtime.InteropServices
System.Runtime.InteropServices ...
System.Runtime.InteropServices ...
System.Runtime.InteropServices ...
System.Runtime.Remoting
System.Runtime.Remoting.Activa ...
System.Runtime.Remoting.Channe ...
System.Runtime.Remoting.Channe ...
System.Runtime.Remoting.Channe ...
System.Runtime.Remoting.Channe ...
System.Runtime.Remoting.Contex ...
System.Runtime.Remoting.Lifeti ...
System.Runtime.Remoting.Messag ...
System.Runtime.Remoting.Metada ...
System.Runtime.Remoting.Metada ...
System.Runtime.Remoting.Metada ...
System.Runtime.Remoting.Proxie ...
System.Runtime.Remoting.Servic ...
System.Runtime.Serialization
System.Runtime.Serialization.F ...
System.Runtime.Serialization.F ...
System.Runtime.Serialization.F ...
System.Runtime.Versioning
System.Security
System.Security.AccessControl
System.Security.Authentication
System.Security.Cryptography
System.Security.Cryptography.P ...
System.Security.Cryptography.X ...
System.Security.Cryptography.X ...
System.Security.Permissions
System.Security.Policy
System.Security.Principal
System.ServiceProcess
System.ServiceProcess.Design
System.Text
System.Text.RegularExpressions
System.Threading
System.Timers
System.Transactions
System.Transactions.Configurat ...
System.Web
System.Web.Caching
System.Web.Compilation
System.Web.Configuration
System.Web.Configuration.Inter ...
System.Web.Handlers
System.Web.Hosting
System.Web.Mail
System.Web.Management
System.Web.Mobile
System.Web.Profile
System.Web.RegularExpressions
System.Web.Security
System.Web.Services
System.Web.Services.Configurat ...
System.Web.Services.Descriptio ...
System.Web.Services.Discovery
System.Web.Services.Protocols
System.Web.SessionState
System.Web.UI
System.Web.UI.Adapters
System.Web.UI.Design
System.Web.UI.Design.MobileCon ...
System.Web.UI.Design.MobileCon ...
System.Web.UI.Design.WebContro ...
System.Web.UI.Design.WebContro ...
System.Web.UI.HtmlControls
System.Web.UI.MobileControls
System.Web.UI.MobileControls.A ...
System.Web.UI.MobileControls.A ...
System.Web.UI.WebControls
System.Web.UI.WebControls.Adap ...
System.Web.UI.WebControls.WebP ...
System.Web.Util
System.Windows.Forms
System.Windows.Forms.Component ...
System.Windows.Forms.Design
System.Windows.Forms.Design.Be ...
System.Windows.Forms.Layout
System.Windows.Forms.PropertyG ...
System.Windows.Forms.VisualSty ...
System.Xml
System.Xml.Schema
System.Xml.Serialization
System.Xml.Serialization.Advan ...
System.Xml.Serialization.Confi ...
System.Xml.XPath
System.Xml.Xsl
System.Xml.Xsl.Runtime
System.ServiceModel
System.ServiceModel.Activation
System.ServiceModel.Activation ...
System.ServiceModel.Channels
System.ServiceModel.ComIntegra ...
System.ServiceModel.Configurat ...
System.ServiceModel.Descriptio ...
System.ServiceModel.Diagnostic ...
System.ServiceModel.Dispatcher
System.ServiceModel.Install.Co ...
System.ServiceModel.Internal
System.ServiceModel.MsmqIntegr ...
System.ServiceModel.PeerResolv ...
System.ServiceModel.Security
System.ServiceModel.Security.T ...
System.ServiceProcess
System.ServiceProcess.Design
System.Speech.AudioFormat
System.Speech.Recognition
System.Speech.Recognition.Srgs ...
System.Speech.Synthesis
System.Speech.Synthesis.TtsEng ...
System.Text
System.Text.RegularExpressions
System.Threading
System.Timers
System.Transactions
System.Transactions.Configurat ...
System.Web
System.Web.Caching
System.Web.Compilation
System.Web.Configuration
System.Web.Configuration.Inter ...
System.Web.Handlers
System.Web.Hosting
System.Web.Mail
System.Web.Management
System.Web.Mobile
System.Web.Profile
System.Web.RegularExpressions
System.Web.Security
System.Web.Services
System.Web.Services.Configurat ...
System.Web.Services.Descriptio ...
System.Web.Services.Discovery
System.Web.Services.Protocols
System.Web.SessionState
System.Web.UI
System.Web.UI.Adapters
System.Web.UI.Design
System.Web.UI.Design.MobileCon ...
System.Web.UI.Design.MobileCon ...
System.Web.UI.Design.WebContro ...
System.Web.UI.Design.WebContro ...
System.Web.UI.HtmlControls
System.Web.UI.MobileControls
System.Web.UI.MobileControls.A ...
System.Web.UI.MobileControls.A ...
System.Web.UI.WebControls
System.Web.UI.WebControls.Adap ...
System.Web.UI.WebControls.WebP ...
System.Web.Util
System.Windows
System.Windows.Annotations
System.Windows.Annotations.Sto ...
System.Windows.Automation
System.Windows.Automation.Peer ...
System.Windows.Automation.Prov ...
System.Windows.Automation.Text
System.Windows.Controls
System.Windows.Controls.Primit ...
System.Windows.Converters
System.Windows.Data
System.Windows.Documents
System.Windows.Documents.Docum ...
System.Windows.Documents.Seria ...
System.Windows.Forms
System.Windows.Forms.Component ...
System.Windows.Forms.Design
System.Windows.Forms.Design.Be ...
System.Windows.Forms.Integrati ...
System.Windows.Forms.Layout
System.Windows.Forms.PropertyG ...
System.Windows.Forms.VisualSty ...
System.Windows.Ink
System.Windows.Ink.AnalysisCor ...
System.Windows.Input
System.Windows.Input.StylusPlu ...
System.Windows.Interop
System.Windows.Markup
System.Windows.Markup.Localize ...
System.Windows.Markup.Primitiv ...
System.Windows.Media
System.Windows.Media.Animation
System.Windows.Media.Converter ...
System.Windows.Media.Effects
System.Windows.Media.Imaging
System.Windows.Media.Media3D
System.Windows.Media.Media3D.C ...
System.Windows.Media.TextForma ...
System.Windows.Navigation
System.Windows.Resources
System.Windows.Shapes
System.Windows.Threading
System.Windows.Xps
System.Windows.Xps.Packaging
System.Windows.Xps.Serializati ...
System.Workflow.Activities
System.Workflow.Activities.Con ...
System.Workflow.Activities.Rul ...
System.Workflow.Activities.Rul ...
System.Workflow.ComponentModel
System.Workflow.ComponentModel ...
System.Workflow.ComponentModel ...
System.Workflow.ComponentModel ...
System.Workflow.Runtime
System.Workflow.Runtime.Config ...
System.Workflow.Runtime.DebugE ...
System.Workflow.Runtime.Hostin ...
System.Workflow.Runtime.Tracki ...
System.Xml
System.Xml.Schema
System.Xml.Serialization
System.Xml.Serialization.Advan ...
System.Xml.Serialization.Confi ...
System.Xml.XPath
System.Xml.Xsl
System.Xml.Xsl.Runtime
UIAutomationClientsideProvider ...
切换视图 :
经典视图
轻量型视图
无脚本视图
反馈
.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
用成员名和表示存储在成员中的值的对象初始化
COMFieldInfo
、
COMMethodInfo
和
COMPropertyInfo
的实例。可使用
GetCOMMemberInfo
检索该对象。
枚举
枚举
说明
CmdLineError
ErrorType
JSBuiltin
JSError
包含与 JScript 错误信息关联的错误代码。
JSFunctionAttributeEnum
与 JSFunctionAttribute 自定义属性一起使用,以批注 JScript 编译器生成的函数的调用约定。与
HasArguments
、
HasEngine
和
HasThisObject
关联的参数为隐式参数,通过 JScript 代码调用该函数时,JScript 运行库将自动提供这些参数。
JSToken
SourceState
TokenColor
VSAITEMTYPE2
JScript 实现接受
VSAITEMTYPE2
枚举值,但拒绝
VsaItemType
项。有关更多信息,请参见
AddItem
。
标记 :