GridViewRowCollection(ArrayList) 建構函式

定義

使用指定的 ArrayList 物件,初始化 GridViewRowCollection 類別的新執行個體。

public:
 GridViewRowCollection(System::Collections::ArrayList ^ rows);
public GridViewRowCollection (System.Collections.ArrayList rows);
new System.Web.UI.WebControls.GridViewRowCollection : System.Collections.ArrayList -> System.Web.UI.WebControls.GridViewRowCollection
Public Sub New (rows As ArrayList)

參數

rows
ArrayList

ArrayList 物件,包含用以初始化集合的 GridViewRow 物件。

備註

使用此建構函式,使用指定的 System.Collections.ArrayList 物件初始化 類別的新實例 GridViewRowCollection 。 物件 System.Collections.ArrayList 應該包含 GridViewRow 要填入集合的物件。

適用於

另請參閱