VsaItemType 枚举
注意:此 API 现在已过时。
将项类型标识为代码、引用或 AppGlobal。
命名空间: Microsoft.Vsa
程序集: Microsoft.Vsa(在 Microsoft.Vsa.dll 中)
语法
声明
<GuidAttribute("a9f6f86e-fcf5-3d8d-97e4-0fe6c7fe2274")> _
<ObsoleteAttribute("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 Enumeration VsaItemType
[GuidAttribute("a9f6f86e-fcf5-3d8d-97e4-0fe6c7fe2274")]
[ObsoleteAttribute("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 VsaItemType
[GuidAttribute(L"a9f6f86e-fcf5-3d8d-97e4-0fe6c7fe2274")]
[ObsoleteAttribute(L"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 class VsaItemType
[<GuidAttribute("a9f6f86e-fcf5-3d8d-97e4-0fe6c7fe2274")>]
[<ObsoleteAttribute("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.")>]
type VsaItemType
public enum VsaItemType
成员
成员名称 | 说明 | |
---|---|---|
AppGlobal | 值:1
用于将全局对象添加到 .NET 脚本引擎中。 此类型用于创建 IVsaGlobalItem 对象。 |
|
Code | 值:2
用于创建一个代码项,以存储 .NET 脚本引擎的源代码。 |
|
Reference | 值:0
用于添加对外部 .NET 程序集的引用,然后可以在代码中对其进行引用。 此类型用于创建 IVsaReferenceItem 对象。 |