WebGridRow.Item[] Property

Definition

Overloads

Item[Int32]

Returns the value at the specified index in the WebGridRow instance.

Item[String]

Returns the value that has the specified name in the WebGridRow instance.

Item[Int32]

Returns the value at the specified index in the WebGridRow instance.

public object this[int index] { get; }
member this.Item(int) : obj
Default Public ReadOnly Property Item(index As Integer) As Object

Parameters

index
Int32

The zero-based index of the value in the row to return.

Property Value

The value at the specified index.

Exceptions

index is less than 0 or greater than or equal to the number of values in the row.

Applies to

Item[String]

Returns the value that has the specified name in the WebGridRow instance.

public object this[string name] { get; }
member this.Item(string) : obj
Default Public ReadOnly Property Item(name As String) As Object

Parameters

name
String

The name of the value in the row to return.

Property Value

The specified value.

Exceptions

name is Nothing or empty.

name specifies a value that does not exist.

Applies to