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 重置为其初始状态。

适用于

另请参阅