asp.net.ph

DataListItemCollection Constructor

System.Web.UI.WebControls Namespace   DataListItemCollection Class


Initializes a new instance of the DataListItemCollection class.

[ VB ]
Public Sub New ( _
   ByVal items As ArrayList _
)

[ C# ]
public DataListItemCollection (
   ArrayList items
);

[ C++ ]
public: DataListItemCollection (
   ArrayList* items
);

[ JScript ]
public function DataListItemCollection (
   items : ArrayList
);

Parameters

items
An ArrayList object that contains the items with which to initialize the collection.

Remarks

Use this constructor to initialize a new instance of the DataListItemCollection class.

Example

The following example demonstrates how to initialize a new instance of the DataListItemCollection class.

ArrayList myList = new ArrayList ( );
DataListItemCollection myItems = new DataListItemCollection ( myList );
  C# VB

See Also

DataListItemCollection Members   DataList   ArrayList Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph