共用方式為


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

Definition

Gets the String at the specified index.

property System::String ^ System::Collections::Generic::IList<System::String>::Item[int] { System::String ^ get(int index); void set(int index, System::String ^ value); };
string? System.Collections.Generic.IList<System.String>.Item[int index] { get; set; }
member this.System.Collections.Generic.IList<System.String>.Item(int) : string with get, set
 Property Item(index As Integer) As String Implements IList(Of String).Item

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