ObjectListField Class
Represents a field of an ObjectList ASP.NET mobile control. This class cannot be inherited.
Assembly: System.Web.Mobile (in System.Web.Mobile.dll)
A field is of type ObjectListField. When you want to display multiple fields, you can specify multiple fields for each item in an object list. To create a field within the declaration of an ObjectList, you declare an ObjectListField as a <Field> element. Each field is associated with a property name. When a list item is bound to a data object, each field is bound to the corresponding property of the object.
The ObjectList provides three ways to define a field:
Declaratively, by using <Field> child elements within the object list
Programmatically, by constructing ObjectListField objects and adding them to the Fields member collection of the control
Automatically, by setting the AutoGenerateFields property to true.
For a complete example, see the ObjectList overview.
- AspNetHostingPermission
for operating in a hosted environment. Demand value: LinkDemand; Permission value: Minimal.
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.