語言

VsaItems.Item[] 屬性

定義

多載

名稱 Description
Item[Int32]

從集合中依索引值取得項目。

Item[String]

從收藏中以名稱獲得物品。

Item[Int32]

從集合中依索引值取得項目。

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

參數

index
Int32

一個以 0 為基礎的可檢索項目索引。

屬性值

該項目位於指定索引。

實作

適用於

Item[String]

從收藏中以名稱獲得物品。

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

參數

Name
String

要從收藏中取回的物品名稱。

屬性值

以名稱指定的物品。

實作

適用於