Export (0) Print
Expand All

VsaItemType Enumeration

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

[Visual Basic]
<Serializable>
Public Enum VsaItemType
[C#]
[Serializable]
public enum VsaItemType
[C++]
[Serializable]
__value public enum VsaItemType
[JScript]
public
   Serializable
enum VsaItemType

Remarks

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

Members

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.

Requirements

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

Show:
© 2014 Microsoft