Szerkesztés

Megosztás a következőn keresztül:


IVsaScriptScope.AddItem Method

Definition

Overloads

AddItem(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.

AddItem(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.

AddItem(String, JSVsaItemType)

When implemented in a class, adds an item to the scope.

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

public:
 Microsoft::JScript::Vsa::IJSVsaItem ^ AddItem(System::String ^ itemName, Microsoft::JScript::Vsa::JSVsaItemType type);
public Microsoft.JScript.Vsa.IJSVsaItem AddItem (string itemName, Microsoft.JScript.Vsa.JSVsaItemType type);
abstract member AddItem : string * Microsoft.JScript.Vsa.JSVsaItemType -> Microsoft.JScript.Vsa.IJSVsaItem
Public Function AddItem (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

AddItem(String, VsaItemType)

When implemented in a class, adds an item to the scope.

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

public:
 Microsoft::Vsa::IVsaItem ^ AddItem(System::String ^ itemName, Microsoft::Vsa::VsaItemType type);
public Microsoft.Vsa.IVsaItem AddItem (string itemName, Microsoft.Vsa.VsaItemType type);
abstract member AddItem : string * Microsoft.Vsa.VsaItemType -> Microsoft.Vsa.IVsaItem
Public Function AddItem (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