Export (0) Print
Expand All

VsaItemFlag Enumeration

Identifies the type of code item as Class, Module, or None.

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

Remarks

Not all possible values of the VsaItemFlag enumeration are supported by all .NET script engines.

The JScript .NET engine does not support the Class item type, and will throw an exception (ItemFlagNotSuported) when asked for an item type of Class. When creating a code item, the JScript .NET engine supports the ItemFlag option by providing a blank item (that is, with no source text) when the item type is None or Module.

Members

Member name Description
Class Value: 2

Used when the code item is a class.

Module Value: 1

Used when the code item is a module.

None Value: 0

Used when the code item is generic or when the item type does not accept flags, such as the AppGlobal item type of the VsaItemType enumeration. In such cases, no special flags are required to create the item.

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 | VsaItemType | IVsaItems.CreateItem | IVsaCodeItem

Show:
© 2014 Microsoft