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

定義

重設 BoundColumn 中的指定儲存格為它的初始狀態。

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 值。

備註

方法會將 InitializeCell 中的 BoundColumn 指定儲存格重設為其初始狀態。

適用於

另請參閱