JSVsaItemType JSVsaItemType JSVsaItemType JSVsaItemType Enum



此 API 现已过时。

表示项的类型。Represents the type of the item.

public enum class JSVsaItemType
[System.Obsolete("Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.")]
public enum JSVsaItemType
type JSVsaItemType = 
Public Enum JSVsaItemType


AppGlobal AppGlobal AppGlobal AppGlobal 1

用于将全局对象添加到 .NET 脚本引擎中。Used to add a global object to the .NET script engine. 此类用于创建 IJSVsaGlobalItem 对象。This type is used to create an IJSVsaGlobalItem object.

Code Code Code Code 2

用于创建一个代码项,以存储 .NET 脚本引擎的源代码。Used to create a code item for storing source code for the .NET script engine.

Reference Reference Reference Reference 0

用于添加对外部 .NET 程序集的引用,然后可以在代码中对其进行引用。Used to add a reference to an external .NET assembly, which can then be referenced from code. 此类用于创建 IJSVsaReferenceItem 对象。This type is used to create an IJSVsaReferenceItem object