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 - пространство имен