Edit

Share via


IVsaScriptScope.CreateDynamicItem Method

Definition

Overloads

CreateDynamicItem(String, JSVsaItemType)

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

When implemented in a class, adds an item to the scope. The VsaEngine must be running to use this method.

CreateDynamicItem(String, VsaItemType)

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

When implemented in a class, adds an item to the scope. The VsaEngine must be running to use this method.

CreateDynamicItem(String, JSVsaItemType)

When implemented in a class, adds an item to the scope. The VsaEngine must be running to use this method.

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

public:
 Microsoft::JScript::Vsa::IJSVsaItem ^ CreateDynamicItem(System::String ^ itemName, Microsoft::JScript::Vsa::JSVsaItemType type);
public Microsoft.JScript.Vsa.IJSVsaItem CreateDynamicItem (string itemName, Microsoft.JScript.Vsa.JSVsaItemType type);
abstract member CreateDynamicItem : string * Microsoft.JScript.Vsa.JSVsaItemType -> Microsoft.JScript.Vsa.IJSVsaItem
Public Function CreateDynamicItem (itemName As String, type As JSVsaItemType) As IJSVsaItem

Parameters

itemName
String

The name of the item.

type
JSVsaItemType

One of the enumeration values. Specifies the type of the item to add.

Returns

The new item, if it is successfully added.

See also

Applies to

CreateDynamicItem(String, VsaItemType)

When implemented in a class, adds an item to the scope. The VsaEngine must be running to use this method.

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

public:
 Microsoft::Vsa::IVsaItem ^ CreateDynamicItem(System::String ^ itemName, Microsoft::Vsa::VsaItemType type);
public Microsoft.Vsa.IVsaItem CreateDynamicItem (string itemName, Microsoft.Vsa.VsaItemType type);
abstract member CreateDynamicItem : string * Microsoft.Vsa.VsaItemType -> Microsoft.Vsa.IVsaItem
Public Function CreateDynamicItem (itemName As String, type As VsaItemType) As IVsaItem

Parameters

itemName
String

The name of the item.

type
VsaItemType

One of the enumeration values. Specifies the type of the item to add.

Returns

The new item, if it is successfully added.

See also

Applies to