asp.net.ph

DataListItemEventArgs Constructor

System.Web.UI.WebControls Namespace   DataListItemEventArgs Class


Initializes a new instance of the DataListItemEventArgs class.

[ VB ]
Public Sub New ( _
   ByVal item As DataListItem _
)

[ C# ]
public DataListItemEventArgs (
   DataListItem item
);

[ C++ ]
public: DataListItemEventArgs (
   DataListItem* item
);

[ JScript ]
public function DataListItemEventArgs (
   item : DataListItem
);

Parameters

item
The DataListItem associated with the event. The Item property is set to this value.

Remarks

The following table shows initial property values for an instance of DataListItemEventArgs.

Property Initial Value
Item The value of the item parameter.

Example

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

void Item_Created ( Object src, DataListItemEventArgs e ) {
   DataListItemEventArgs item_arg = new DataListItemEventArgs ( e.Item );
}
  C# VB

See Also

DataListItemEventArgs Members 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