System.Web.UI.WebControls Namespace DataListItem Class
Initializes a new instance of the DataListItem with the specified index and item type.
[ VB ]
Public Sub New ( _
ByVal itemIndex As Integer, _
ByVal itemType As ListItemType _
)
[ C# ]
public DataListItem (
int itemIndex,
ListItemType itemType
);
[ C++ ]
public: DataListItem (
int itemIndex,
ListItemType itemType
);
[ JScript ]
public function DataListItem (
itemIndex : int,
itemType : ListItemType
);
- itemIndex
- An index that specifies the position of the item within the DataList.
- itemType
- One of the ListItemType enum values.
DataListItem Members