ObjectList.CreateItem(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for