Прочетете на английски Редактиране

Споделяне чрез


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.

C#
protected virtual System.Web.UI.MobileControls.ObjectListItem CreateItem(object dataItem);

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

Продукт Версии
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also