DataListItem.SetItemType Method (ListItemType)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: