IVsaItems.Item[] 屬性

定義

多載

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

要從集合中擷取的項目名稱。

屬性值

依名稱指定的專案。

適用於