IVsaItems.Item[String] IVsaItems.Item[String] IVsaItems.Item[String] IVsaItems.Item[String] Property

定义

重载

Item[Int32] Item[Int32] Item[Int32] Item[Int32]

通过项的索引值从集合中获取项。Gets an item from the collection by its index value.

Item[String] Item[String] Item[String] Item[String]

通过项的名称从集合中获取项。Gets an item from the collection by its name.

Item[Int32] Item[Int32] Item[Int32] Item[Int32]

通过项的索引值从集合中获取项。Gets an item from the collection by its index value.

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 Int32 Int32 Int32

可检索项的索引(从 0 开始)。A 0-based index of the retrievable items.

属性值

指定索引处的项。The item at the specified index.

Item[String] Item[String] Item[String] Item[String]

通过项的名称从集合中获取项。Gets an item from the collection by its name.

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 String String String

要从集合中检索的项的名称。The name of the item to retrieve from the collection.

属性值

按名称指定的项。The item specified by name.

适用于