ObjectList.CreateItem Method (Object)

 

Creates a list item to contain the object and binds it to the specified object. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

Namespace:   System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

protected virtual ObjectListItem CreateItem(
	object dataItem
)

Parameters

dataItem
Type: System.Object

The list item to bind.

Return Value

Type: System.Web.UI.MobileControls.ObjectListItem

An object list item created from the specified object.

Inheriting classes can override this method to provide a different way of creating an item, or can call this method to construct an item.

.NET Framework
Available since 1.1

ObjectList Class
System.Web.UI.MobileControls Namespace
Creating Custom Mobile Controls
Introduction to the ObjectList Control

Return to top
Show: