IJSVsaItems.Item[String] 属性

定义

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

重载

Item[Int32]

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

Item[String]

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

Item[Int32]

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

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

参数

index
Int32

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

属性值

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

Item[String]

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

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

参数

name
String

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

属性值

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

适用于