StringValues.IList<String>.Item[Int32] 属性

定义

获取索引处的 String

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; }
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

参数

index
Int32

要获取的元素的索引(索引从零开始)。

属性值

String

指定索引处的字符串。

实现

例外

只读 StringValues 上不支持设置操作。

适用于