Прочетете на английски Редактиране

Споделяне чрез


IJSVsaItems.Item[] Property

Definition

Gets an item from the collection by its index value.

Overloads

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.

C#
public Microsoft.JScript.Vsa.IJSVsaItem this[int index] { get; }

Parameters

index
Int32

A 0-based index of the retrievable items.

Property Value

The item at the specified index.

Applies to

.NET Framework 4.8.1 и други версии
Продукт Версии
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Item[String]

Gets an item from the collection by its name.

C#
public Microsoft.JScript.Vsa.IJSVsaItem this[string name] { get; }

Parameters

name
String

The name of the item to retrieve from the collection.

Property Value

The item specified by name.

Applies to

.NET Framework 4.8.1 и други версии
Продукт Версии
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1