Share via


VsaItemType 列舉類型

注意:這個 API 現在已經過時。

將項目類型識別為 Code、Reference 或 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 对象。

請參閱

參考

Microsoft.Vsa 命名空間