WebGridRow 類別

定義

表示 實例中的資料 WebGrid 列。

public class WebGridRow : System.Dynamic.DynamicObject, System.Collections.Generic.IEnumerable<object>
type WebGridRow = class
    inherit DynamicObject
    interface seq<obj>
    interface IEnumerable
Public Class WebGridRow
Inherits DynamicObject
Implements IEnumerable(Of Object)
繼承
WebGridRow
實作

建構函式

WebGridRow(WebGrid, Object, Int32)

使用指定的 WebGrid 實例、資料列值和索引,初始化 類別的新實例 WebGridRow

屬性

Item[Int32]

傳回 實例中指定索引處 WebGridRow 的值。

Item[String]

傳回實例中具有指定名稱的值 WebGridRow

Value

取得包含列中每個值之屬性成員的物件。

WebGrid

取得資料 WebGrid 列所屬的實例。

方法

GetEnumerator()

傳回可用來逐一查看實例值的 WebGridRow 列舉值。

GetSelectLink(String)

傳回使用者可用來選取該列的 HTML 元素 (連結)。

GetSelectUrl()

傳回可用來選取該列的 URL。

ToString()

傳回字串,表示實例的所有值 WebGridRow

TryGetMember(GetMemberBinder, Object)

傳回指定之系結器所描述的成員值 WebGridRow

明確介面實作

IEnumerable.GetEnumerator()

傳回可用於逐一查看集合的列舉程式。

適用於