TemplateColumn.InitializeCell(TableCell, Int32, ListItemType) 方法

定義

呼叫 TableCell 物件的基底類別,以初始化執行個體,然後將 ListItemType 套用至儲存格。

public:
 override void InitializeCell(System::Web::UI::WebControls::TableCell ^ cell, int columnIndex, System::Web::UI::WebControls::ListItemType itemType);
public override void InitializeCell (System.Web.UI.WebControls.TableCell cell, int columnIndex, System.Web.UI.WebControls.ListItemType itemType);
override this.InitializeCell : System.Web.UI.WebControls.TableCell * int * System.Web.UI.WebControls.ListItemType -> unit
Public Overrides Sub InitializeCell (cell As TableCell, columnIndex As Integer, itemType As ListItemType)

參數

cell
TableCell

TableCell 物件,表示要重設的儲存格。

columnIndex
Int32

儲存格所在的資料行數。

itemType
ListItemType

其中一個 ListItemType 值。

適用於