VsaItems.CreateItem Method

Definition

Overloads

CreateItem(String, JSVsaItemType, JSVsaItemFlag)

This API supports the product infrastructure and is not intended to be used directly from your code.

Creates a new item and adds it to the collection.

CreateItem(String, VsaItemType, VsaItemFlag)

This API supports the product infrastructure and is not intended to be used directly from your code.

Creates a new item and adds it to the collection.

CreateItem(String, JSVsaItemType, JSVsaItemFlag)

Creates a new item and adds it to the collection.

This API supports the product infrastructure and is not intended to be used directly from your code.

public Microsoft.JScript.Vsa.IJSVsaItem CreateItem (string name, Microsoft.JScript.Vsa.JSVsaItemType itemType, Microsoft.JScript.Vsa.JSVsaItemFlag itemFlag);

Parameters

name
String

The name of the new item.

itemType
JSVsaItemType

One of the enumeration values. The value specifies the type of the new item as Code, Reference, or AppGlobal.

itemFlag
JSVsaItemFlag

One of the enumeration values. The value specifies the initial content of a Code item as Class, Module, or None.

Returns

The newly created item.

Implements

See also

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

CreateItem(String, VsaItemType, VsaItemFlag)

Creates a new item and adds it to the collection.

This API supports the product infrastructure and is not intended to be used directly from your code.

public Microsoft.Vsa.IVsaItem CreateItem (string name, Microsoft.Vsa.VsaItemType itemType, Microsoft.Vsa.VsaItemFlag itemFlag);

Parameters

name
String

The name of the new item.

itemType
VsaItemType

One of the enumeration values. The value specifies the type of the new item as VsaItemType, VsaItemType, or VsaItemType.

itemFlag
VsaItemFlag

One of the enumeration values. The value specifies the initial content of a VsaItemType item as VsaItemFlag, VsaItemFlag, or VsaItemFlag.

Returns

The newly created item.

Implements

See also

Applies to

.NET Framework 3.5 and other versions
Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5