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 (string itemName, Microsoft.JScript.Vsa.JSVsaItemType type);

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

.NET Framework 4.8.1 및 기타 버전
제품 버전
.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

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 (string itemName, Microsoft.Vsa.VsaItemType type);

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

.NET Framework 3.5 및 기타 버전
제품 버전
.NET Framework 1.1, 2.0, 3.0, 3.5