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

要从集合中检索的项的名称。

属性值

按名称指定的项。

适用于