ObjectListFieldCollection Class
Represents a collection of ObjectListField objects. 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)
System.Web.UI.MobileControls::ArrayListCollectionBase
System.Web.UI.MobileControls::ObjectListFieldCollection
[ObsoleteAttribute("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")] [AspNetHostingPermissionAttribute(SecurityAction::LinkDemand, Level = AspNetHostingPermissionLevel::Minimal)] [AspNetHostingPermissionAttribute(SecurityAction::InheritanceDemand, Level = AspNetHostingPermissionLevel::Minimal)] public ref class ObjectListFieldCollection : ArrayListCollectionBase, IObjectListFieldCollection, ICollection, IEnumerable, IStateManager
| Name | Description | |
|---|---|---|
![]() | Count | Returns the number of elements in a collection. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from ArrayListCollectionBase.) |
![]() | IsReadOnly | Gets a value indicating whether a collection is read-only. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from ArrayListCollectionBase.) |
![]() | IsSynchronized | Gets a value indicating whether a collection is synchronized. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from ArrayListCollectionBase.) |
![]() | IsTrackingViewState | Indicates whether the collection tracking its view state changes. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() | Item[Int32] | The default indexer for the ObjectListFieldCollection class, allows the lookup of arbitrary capability values by index. Any of the properties can be accessed by name. However, the returned value will always be a string (or null if not defined), rather than a type-safe value. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() | Items | Gets or sets the collection of items in an array list object. The default value is Empty. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from ArrayListCollectionBase.) |
![]() | SyncRoot | Returns the SyncRoot object for the collection. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from ArrayListCollectionBase.) |
| Name | Description | |
|---|---|---|
![]() | Add(ObjectListField^) | Adds a field to the end of the collection. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() | AddAt(Int32, ObjectListField^) | Adds a field at the location in the collection specified by the index parameter. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() | Clear() | Clears the collection. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() | CopyTo(Array^, Int32) | Copies the items in the collection to an array, starting at the given index. Intended for internal use only. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from ArrayListCollectionBase.) |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetAll() | Returns the items in the specified collection as a single array of ObjectListItem objects. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() | GetEnumerator() | Retrieves an enumerator for the collection. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from ArrayListCollectionBase.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | IndexOf(ObjectListField^) | Returns the index of a field. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() | IndexOf(String^) | Returns the index of a field. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() | LoadViewState(Object^) | Loads the previously saved view state to the control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() | MemberwiseClone() | |
![]() | Remove(ObjectListField^) | Removes the specified field. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() | RemoveAt(Int32) | Removes the item at the specified index. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() | SaveViewState() | Saves the changes to a server control's view state to a Object. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() | SetAll(array<ObjectListField^>^) | Sets the array of ObjectListItem objects as the ObjectListFieldCollection. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
![]() | TrackViewState() | Instructs the collection to track changes to its view state. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
| Name | Description | |
|---|---|---|
![]() ![]() | IStateManager::LoadViewState(Object^) | This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see IStateManager::LoadViewState. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() ![]() | IStateManager::SaveViewState() | This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see IStateManager::SaveViewState. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() ![]() | IStateManager::TrackViewState() | This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see IStateManager::TrackViewState. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() ![]() | IStateManager::IsTrackingViewState | This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see IStateManager::IsTrackingViewState. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
| Name | Description | |
|---|---|---|
![]() | AsParallel() | Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.) |
![]() | AsQueryable() | Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.) |
![]() | Cast<TResult>() | Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.) |
![]() | OfType<TResult>() | Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.) |
This class object provides the container for the fields of an ObjectList. Accessing the Fields property of an ObjectList retrieves an ObjectListFieldCollection object.
The properties and methods of the ObjectListFieldCollection class are a superset of the IObjectListFieldCollection interface. All properties and methods of that interface, including those that it inherits from the ASP.NET ICollection interface, are applicable here. This class provides additional properties and methods to modify the collection. These properties and methods provide standard collection management capability, such as adding, removing, and clearing the collection.
If you change the collection by calling the methods Add, AddAt, Remove, or RemoveAt during Page_Init, the view state for the Fields, Items, and ViewMode properties of the object list is ignored.
for operating in a hosted environment. Demand value: LinkDemand; Permission value: Minimal.
for operating in a hosted environment. Demand value: InheritanceDemand; Permission value: Minimal.
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
ObjectListField
ObjectListFieldCollection
System.Web.UI.MobileControls Namespace
Introduction to the ObjectList Control






