VsaItems.Item[] 屬性

定義

從集合中取得項目。

多載

Item[Int32]

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

從集合中取得指定索引值所指派的項目。

Item[String]

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

從集合中取得指定名稱所指派的項目。

Item[Int32]

從集合中取得指定索引值所指派的項目。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

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

參數

index
Int32

要取得的項目索引。

屬性值

位於 index 的項目。

實作

另請參閱

適用於

Item[String]

從集合中取得指定名稱所指派的項目。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

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

參數

itemName
String

要取得的項目名稱。

屬性值

名為 itemName 的項目。

實作

另請參閱

適用於