แก้ไข

แชร์ผ่าน


VsaItems.Item[] Property

Definition

Gets an item from the collection.

Overloads

Item[Int32]

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

Gets the item from the collection that is designated by the specified index value.

Item[String]

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

Gets the item from the collection that is designated by the specified name.

Item[Int32]

Gets the item from the collection that is designated by the specified index value.

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

public:
 property Microsoft::Vsa::IVsaItem ^ default[int] { Microsoft::Vsa::IVsaItem ^ get(int index); };
public:
 property Microsoft::JScript::Vsa::IJSVsaItem ^ default[int] { Microsoft::JScript::Vsa::IJSVsaItem ^ get(int index); };
public Microsoft.Vsa.IVsaItem this[int index] { get; }
public Microsoft.JScript.Vsa.IJSVsaItem this[int index] { get; }
member this.Item(int) : Microsoft.Vsa.IVsaItem
member this.Item(int) : Microsoft.JScript.Vsa.IJSVsaItem
Default Public ReadOnly Property Item(index As Integer) As IVsaItem
Default Public ReadOnly Property Item(index As Integer) As IJSVsaItem

Parameters

index
Int32

The index of the item to get.

Property Value

The item at index.

Implements

See also

Applies to

Item[String]

Gets the item from the collection that is designated by the specified name.

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

public:
 property Microsoft::Vsa::IVsaItem ^ default[System::String ^] { Microsoft::Vsa::IVsaItem ^ get(System::String ^ itemName); };
public:
 property Microsoft::JScript::Vsa::IJSVsaItem ^ default[System::String ^] { Microsoft::JScript::Vsa::IJSVsaItem ^ get(System::String ^ itemName); };
public Microsoft.Vsa.IVsaItem this[string itemName] { get; }
public Microsoft.JScript.Vsa.IJSVsaItem this[string itemName] { get; }
member this.Item(string) : Microsoft.Vsa.IVsaItem
member this.Item(string) : Microsoft.JScript.Vsa.IJSVsaItem
Default Public ReadOnly Property Item(itemName As String) As IVsaItem
Default Public ReadOnly Property Item(itemName As String) As IJSVsaItem

Parameters

itemName
String

The name of the item to get.

Property Value

The item that is named itemName.

Implements

See also

Applies to