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.
Assembly: System.Web.Mobile (in System.Web.Mobile.dll)
[BrowsableAttribute(false)] [BindableAttribute(false)] public: property IObjectListFieldCollection^ AllFields { IObjectListFieldCollection^ get (); }
Property Value
Type: System.Web.UI.MobileControls::IObjectListFieldCollectionAn 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.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.