ObjectList::AllFields Property
Returns the collection of all fields from the ObjectList class, whether explicit or automatically generated. The default value is the collection of automatically generated fields. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Assembly: System.Web.Mobile (in System.Web.Mobile.dll)
public: [BindableAttribute(false)] [BrowsableAttribute(false)] property IObjectListFieldCollection^ AllFields { IObjectListFieldCollection^ get(); }
Property Value
Type: System.Web.UI.MobileControls::IObjectListFieldCollection^An IObjectListFieldCollection object containing all fields in the ObjectList.
This collection is available only after data binding. Unlike the Fields collection, you cannot add or remove items in this collection. By default, this collection is the set of automatically generated fields. If any fields are explicitly defined, they are contained after any automatically generated fields.
The following code example demonstrates how to use the AllFields property to list all the fields of the ObjectList. This example is part of a larger example for the ObjectList overview.
Available since 1.1
ObjectList Class
System.Web.UI.MobileControls Namespace
Creating Custom Mobile Controls
Introduction to the ObjectList Control