DataListItem.IDataItemContainer.DataItem Property
This API supports the product infrastructure and is not intended to be used directly from your code.
For a description of this member, see IDataItemContainer.DataItem.
Assembly: System.Web (in System.Web.dll)
Property Value
Type: System.ObjectAn Object that represents the value to use when data-binding operations are performed.
Implements
IDataItemContainer.DataItemTypically, you should use the DataListItem.DataItem property to retrieve the data object for a DataListItem object.
The IDataItemContainer.DataItem member is an explicit interface member implementation. It can be used only when the DataListItem instance is cast to an IDataItemContainer interface.
Notes to Inheritors:
To define a custom implementation for retrieving the data object for a DataListItem, override the DataListItem.DataItem member. The explicit interface implementation uses the DataListItem.DataItem property to retrieve the associated data object.
Available since 2.0
DataListItem.DataItem
DataListItem Class
System.Web.UI.WebControls Namespace
DataList Web Server Control Overview