StringValues.IList<String>.Item[Int32] 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取索引处的 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
要获取的元素的索引(索引从零开始)。
属性值
指定索引处的字符串。
实现
例外
只读 StringValues 上不支持设置操作。