DataListItemEventArgs Constructor
Initializes a new instance of the DataListItemEventArgs class.
Assembly: System.Web (in System.Web.dll)
Parameters
- item
- Type: System.Web.UI.WebControls::DataListItem
A DataListItem object that represents an item in the DataList control.
Use this constructor to create and initialize a new instance of the DataListItemEventArgs class.
When an instance of DataListItemEventArgs is created by a call to this constructor, the following property is initialized to the specified value.
Property | Initial Value |
|---|---|
Item | The value of the item parameter. |
The following example demonstrates how to create and initialize a new instance of the DataListItemEventArgs class.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.