语言

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

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

属性值

指定索引处的字符串。

实现

例外

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

适用于