GridViewRowCollection(ArrayList) 构造函数

定义

使用指定的GridViewRowCollection对象初始化类的新实例ArrayList

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 用于初始化集合的对象。

注解

使用此构造函数可以使用指定的GridViewRowCollection对象初始化类的新实例System.Collections.ArrayList。 该 System.Collections.ArrayList 对象应包含 GridViewRow 要填充集合的对象。

适用于

另请参阅