StringValues.IList<String>.Item[Int32] Property

Definition

Gets the String at the specified index.

C#
string? System.Collections.Generic.IList<System.String>.Item[int index] { get; set; }

Parameters

index
Int32

The zero-based index of the element to get.

Property Value

The string at the specified index.

Implements

Exceptions

Set operations are not supported on readonly StringValues.

Applies to

Produkt Versioner
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)