DataListItemCollection(ArrayList) 构造函数

定义

初始化 DataListItemCollection 类的新实例。Initializes a new instance of the DataListItemCollection class.

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

参数

items
ArrayList

ArrayList 对象,它包含用来初始化集合的项。A ArrayList object that contains the items with which to initialize the collection.

注解

使用此构造函数创建并初始化DataListItemCollection类的新实例。Use this constructor to create and initialize a new instance of the DataListItemCollection class.

适用于

另请参阅