Bewerken

Share via


ObjectList.CreateItem(Object) Method

Definition

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 Mobile Apps & Sites with ASP.NET.

protected:
 virtual System::Web::UI::MobileControls::ObjectListItem ^ CreateItem(System::Object ^ dataItem);
protected virtual System.Web.UI.MobileControls.ObjectListItem CreateItem (object dataItem);
abstract member CreateItem : obj -> System.Web.UI.MobileControls.ObjectListItem
override this.CreateItem : obj -> System.Web.UI.MobileControls.ObjectListItem
Protected Overridable Function CreateItem (dataItem As Object) As ObjectListItem

Parameters

dataItem
Object

The list item to bind.

Returns

An object list item created from the specified object.

Remarks

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

Applies to

See also