Share via


VsaItemType Enumeration

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

public: _value enum VsaItemType;
public enum VsaItemType;
public Enum VsaItemType
{ 
Reference = 0, 
AppGlobal = 1, 
Code = 2 
};

Elements

  • 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.

  • 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.

Requirements

DLL: Microsoft.Vsa.dll

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.

See Also

Reference

IVsaItem Interface

IVsaCodeItem Interface

IVsaGlobalItem Interface

IVsaReferenceItem Interface