WebGridRow.Item[] 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Item[Int32] |
返回实例中指定索引处 WebGridRow 的值。 |
Item[String] |
返回实例中 WebGridRow 具有指定名称的值。 |
Item[Int32]
返回实例中指定索引处 WebGridRow 的值。
public object this[int index] { get; }
member this.Item(int) : obj
Default Public ReadOnly Property Item(index As Integer) As Object
参数
- index
- Int32
该行中要返回的值的从零开始的索引。
属性值
位于指定索引处的值。
例外
index
小于 0,或大于等于行中值的数量。
适用于
Item[String]
返回实例中 WebGridRow 具有指定名称的值。
public object this[string name] { get; }
member this.Item(string) : obj
Default Public ReadOnly Property Item(name As String) As Object
参数
- name
- String
该行中要返回的值的名称。
属性值
指定的值。
例外
name
为 Nothing 或空。
name
指定不存在的值。