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:
 virtual Microsoft::JScript::Vsa::IJSVsaItem ^ CreateItem(System::String ^ name, Microsoft::JScript::Vsa::JSVsaItemType itemType, Microsoft::JScript::Vsa::JSVsaItemFlag itemFlag);
public Microsoft.JScript.Vsa.IJSVsaItem CreateItem (string name, Microsoft.JScript.Vsa.JSVsaItemType itemType, Microsoft.JScript.Vsa.JSVsaItemFlag itemFlag);
abstract member CreateItem : string * Microsoft.JScript.Vsa.JSVsaItemType * Microsoft.JScript.Vsa.JSVsaItemFlag -> Microsoft.JScript.Vsa.IJSVsaItem
override this.CreateItem : string * Microsoft.JScript.Vsa.JSVsaItemType * Microsoft.JScript.Vsa.JSVsaItemFlag -> Microsoft.JScript.Vsa.IJSVsaItem
Public Function CreateItem (name As String, itemType As JSVsaItemType, itemFlag As JSVsaItemFlag) As IJSVsaItem

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

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:
 virtual Microsoft::Vsa::IVsaItem ^ CreateItem(System::String ^ name, Microsoft::Vsa::VsaItemType itemType, Microsoft::Vsa::VsaItemFlag itemFlag);
public Microsoft.Vsa.IVsaItem CreateItem (string name, Microsoft.Vsa.VsaItemType itemType, Microsoft.Vsa.VsaItemFlag itemFlag);
abstract member CreateItem : string * Microsoft.Vsa.VsaItemType * Microsoft.Vsa.VsaItemFlag -> Microsoft.Vsa.IVsaItem
override this.CreateItem : string * Microsoft.Vsa.VsaItemType * Microsoft.Vsa.VsaItemFlag -> Microsoft.Vsa.IVsaItem
Public Function CreateItem (name As String, itemType As VsaItemType, itemFlag As VsaItemFlag) As IVsaItem

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