HtmlTableRow.HtmlTableCellControlCollection 類別

定義

代表 HtmlTableCell 物件組成的集合,這些物件是 HtmlTableRow 控制項的儲存格。

protected: ref class HtmlTableRow::HtmlTableCellControlCollection : System::Web::UI::ControlCollection
protected class HtmlTableRow.HtmlTableCellControlCollection : System.Web.UI.ControlCollection
Protected Class HtmlTableRow.HtmlTableCellControlCollection
Inherits ControlCollection
繼承
HtmlTableRow.HtmlTableCellControlCollection

備註

類別 HtmlTableRow.HtmlTableCellControlCollection 代表 控制項的物件 HtmlTableCellHtmlTableRow 集合。 控制項可以在集合結尾加上 Add 方法,或使用 方法在集合 AddAt 中的指定索引位置加入。

只有類型的 HtmlTableCell 控制項可以新增至 HtmlTableRow.HtmlTableCellControlCollection 集合。

屬性

Count

取得指定 ASP.NET 伺服器控制項的 ControlCollection 物件中的伺服器控制項數目。

(繼承來源 ControlCollection)
IsReadOnly

取得值,這個值表示 ControlCollection 物件是否唯讀。

(繼承來源 ControlCollection)
IsSynchronized

取得值,該值指出是否同步處理 ControlCollection 物件。

(繼承來源 ControlCollection)
Item[Int32]

取得在 ControlCollection 物件中指定索引位置之伺服器控制項的參考。

(繼承來源 ControlCollection)
Owner

取得 ControlCollection 物件所屬的 ASP.NET 伺服器控制項。

(繼承來源 ControlCollection)
SyncRoot

取得可用來對控制項集合進行同步 (Synchronize) 存取的物件。

(繼承來源 ControlCollection)

方法

Add(Control)

將指定的 Control 物件加入至集合。

AddAt(Int32, Control)

在指定索引位置將指定的 Control 物件加入集合。

Clear()

從目前伺服器控制項的 ControlCollection 物件中移除所有控制項。

(繼承來源 ControlCollection)
Contains(Control)

判斷指定伺服器控制項是否在伺服器控制項的 ControlCollection 物件之中。

(繼承來源 ControlCollection)
CopyTo(Array, Int32)

ControlCollection 中的指定索引位置開始,複製儲存於 Array 物件的子控制項至 Array 物件。

(繼承來源 ControlCollection)
Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetEnumerator()

擷取可逐一查看 ControlCollection 物件的列舉值。

(繼承來源 ControlCollection)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
IndexOf(Control)

擷取集合中指定 Control 物件的索引。

(繼承來源 ControlCollection)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
Remove(Control)

從父伺服器控制項的 ControlCollection 物件移除指定伺服器控制項。

(繼承來源 ControlCollection)
RemoveAt(Int32)

在指定索引位置,從 ControlCollection 物件移除子控制項。

(繼承來源 ControlCollection)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

擴充方法

Cast<TResult>(IEnumerable)

IEnumerable 的項目轉換成指定的型別。

OfType<TResult>(IEnumerable)

根據指定的型別來篩選 IEnumerable 的項目。

AsParallel(IEnumerable)

啟用查詢的平行化作業。

AsQueryable(IEnumerable)

IEnumerable 轉換成 IQueryable

適用於

另請參閱