DataListItem.SetItemType Method (ListItemType)

 

Sets the current ItemType property for the DataListItem control.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

protected internal virtual void SetItemType(
	ListItemType itemType
)

Parameters

itemType
Type: System.Web.UI.WebControls.ListItemType

A ListItemType value.

This method is used primarily by control developers when extending the functionality of a DataListItem control.

.NET Framework
Available since 1.1
Return to top
Show: