This documentation is archived and is not being maintained.

VsaItemType Enumeration

Identifies the item type as Code, Reference, or AppGlobal.

[Visual Basic]
Public Enum VsaItemType
public enum VsaItemType
__value public enum VsaItemType
enum VsaItemType


Elements of this enumeration are passed to the IVsaItems.CreateItem method; elements of this enumeration can also be returned from the IVsaItem.ItemType property.


Member name Description
AppGlobal Value: 1

Used to add a global object to the .NET script engine. This type is used to create an IVsaGlobalItem object.

Code Value: 2

Used to create a code item for storing source code for the .NET script engine.

Reference Value: 0

Used to add a reference to an external .NET assembly, which can then be referenced from code. This type is used to create an IVsaReferenceItem object.


Namespace: Microsoft.Vsa

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Microsoft.Vsa (in Microsoft.Vsa.dll)

See Also

Microsoft.Vsa Namespace | IVsaItem | IVsaCodeItem | IVsaGlobalItem | IVsaReferenceItem