IObjectListFieldCollection IObjectListFieldCollection IObjectListFieldCollection IObjectListFieldCollection Interface

定义

警告

此 API 现已过时。

实现 ObjectListFieldCollection 类的只读基接口。Implements a read-only base interface for the ObjectListFieldCollection class. 若要了解如何开发 ASP.NET 移动应用,请参阅 ASP.NET 移动应用和网站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 http://go.microsoft.com/fwlink/?LinkId=157231.")]
public interface IObjectListFieldCollection : System.Collections.ICollection
type IObjectListFieldCollection = interface
    interface ICollection
    interface IEnumerable
Public Interface IObjectListFieldCollection
Implements ICollection
派生
属性
实现

注解

IObjectListFieldCollection 接口ICollection实现接口; 因此, 此处的所有属性和方法都是隐含的。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. 例如, 应用程序可以检索控件的AllFields属性, 该属性是控件的显式定义和自动生成的字段的组合集合。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.

属性

Count Count Count Count

获取 ICollection 中包含的元素数。Gets the number of elements contained in the ICollection.

(Inherited from ICollection)
IsSynchronized IsSynchronized IsSynchronized IsSynchronized

获取一个值,该值指示是否同步对 ICollection 的访问(线程安全)。Gets a value indicating whether access to the ICollection is synchronized (thread safe).

(Inherited from ICollection)
Item[Int32] Item[Int32] Item[Int32] Item[Int32]

按索引返回集合中的项。Returns an item in the collection, by index. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 ASP.NET 移动应用和网站For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

SyncRoot SyncRoot SyncRoot SyncRoot

获取可用于同步对 ICollection 的访问的对象。Gets an object that can be used to synchronize access to the ICollection.

(Inherited from ICollection)

方法

CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32)

从特定的 ICollection 索引开始,将 Array 的元素复制到一个 Array 中。Copies the elements of the ICollection to an Array, starting at a particular Array index.

(Inherited from ICollection)
GetAll() GetAll() GetAll() GetAll()

返回 ObjectListField 集合中所有项的数组。Returns an array of all the items in the ObjectListField collection. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 ASP.NET 移动应用和网站For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

返回循环访问集合的枚举数。Returns an enumerator that iterates through a collection.

(Inherited from IEnumerable)
IndexOf(ObjectListField) IndexOf(ObjectListField) IndexOf(ObjectListField) IndexOf(ObjectListField)

返回字段的索引。Returns the index of a field. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 ASP.NET 移动应用和网站For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

IndexOf(String) IndexOf(String) IndexOf(String) IndexOf(String)

返回字段的索引。Returns the index of a field. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 ASP.NET 移动应用和网站For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

扩展方法

Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable)

IEnumerable 的元素强制转换为指定的类型。Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable)

根据指定类型筛选 IEnumerable 的元素。Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable)

启用查询的并行化。Enables parallelization of a query.

AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

IEnumerable 转换为 IQueryableConverts an IEnumerable to an IQueryable.

安全性

AspNetHostingPermission
用于在宿主环境中进行操作。for operating in a hosted environment. 要求值:InheritanceDemand;权限值:MinimalDemand value: InheritanceDemand; Permission value: Minimal.

适用于

另请参阅