IObjectListFieldCollection Interface

Definition

Warning

This API is now obsolete.

Implements a read-only base interface for the ObjectListFieldCollection class. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public interface class IObjectListFieldCollection : System::Collections::ICollection
[System.Obsolete("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 https://go.microsoft.com/fwlink/?LinkId=157231.")]
public interface IObjectListFieldCollection : System.Collections.ICollection
type IObjectListFieldCollection = interface
    interface ICollection
    interface IEnumerable
Public Interface IObjectListFieldCollection
Implements ICollection
Derived
Attributes
Implements

Remarks

The IObjectListFieldCollection interfaces implement the ICollection interface; so all properties and methods of that interface are implied here. You can use this type of interface for read-only field collections. For example, the application can retrieve the control's AllFields property, which is a combined collection of explicitly defined and automatically generated fields for the control. However, the application cannot add or remove fields in this collection.

Properties

Count

Gets the number of elements contained in the ICollection.

(Inherited from ICollection)
IsSynchronized

Gets a value indicating whether access to the ICollection is synchronized (thread safe).

(Inherited from ICollection)
Item[Int32]

Returns an item in the collection, by index. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

SyncRoot

Gets an object that can be used to synchronize access to the ICollection.

(Inherited from ICollection)

Methods

CopyTo(Array, Int32)

Copies the elements of the ICollection to an Array, starting at a particular Array index.

(Inherited from ICollection)
GetAll()

Returns an array of all the items in the ObjectListField collection. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

GetEnumerator()

Returns an enumerator that iterates through a collection.

(Inherited from IEnumerable)
IndexOf(ObjectListField)

Returns the index of a field. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

IndexOf(String)

Returns the index of a field. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Extension Methods

Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Security

AspNetHostingPermission
for operating in a hosted environment. Demand value: InheritanceDemand; Permission value: Minimal.

Applies to

See also