ObjectListItemCollection 类

定义

警告

此 API 现已过时。

表示 ObjectListItem 对象集合。Represents a collection of ObjectListItem objects. 若要了解如何开发 ASP.NET 移动应用,请参阅 ASP.NET 移动应用和网站For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public ref class ObjectListItemCollection : System::Web::UI::MobileControls::ArrayListCollectionBase, System::Web::UI::IStateManager
[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 class ObjectListItemCollection : System.Web.UI.MobileControls.ArrayListCollectionBase, System.Web.UI.IStateManager
type ObjectListItemCollection = class
    inherit ArrayListCollectionBase
    interface IStateManager
Public Class ObjectListItemCollection
Inherits ArrayListCollectionBase
Implements IStateManager
继承
ObjectListItemCollection
属性
实现

注解

类对象为 ObjectList的项提供容器。The class object provides the container for the items of an ObjectList. 访问 ObjectListItems 属性将检索 ObjectListItemCollection 对象。Accessing the Items property of an ObjectList retrieves an ObjectListItemCollection object. MobileListItemCollection 类不同,应用程序不能以编程方式添加或删除此集合中的元素。Unlike the MobileListItemCollection class, an application cannot programmatically add or remove elements of this collection.

属性

Count

返回集合中元素的数目。Returns the number of elements in a 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. 此 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.

(继承自 ArrayListCollectionBase)
IsReadOnly

获取一个值,该值指示集合是否为只读。Gets a value indicating whether a collection is read-only. 此 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. 此 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.

(继承自 ArrayListCollectionBase)
IsSynchronized

获取一个值,该值指示集合是否已同步。Gets a value indicating whether a collection is synchronized. 此 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. 此 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.

(继承自 ArrayListCollectionBase)
IsTrackingViewState

指示集合是否跟踪其视图状态的更改。Indicates whether the collection tracking its view state changes. 此 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.

Item[Int32]

按索引返回集合中的 ObjectListCommand 项。Returns an ObjectListCommand 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.

Items

获取或设置数组列表对象中的项的集合。Gets or sets the collection of items in an array list object. 默认值为 EmptyThe default value is Empty. 此 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.

(继承自 ArrayListCollectionBase)
SyncRoot

返回集合的 SyncRoot 对象。Returns the SyncRoot object for the 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.

(继承自 ArrayListCollectionBase)

方法

Clear()

清除集合。Clears the 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.

Contains(ObjectListItem)

返回集合中是否包含给定的项。Returns whether or not the given item is contained in the 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.

CopyTo(Array, Int32)

从给定索引开始,将集合中的项复制到数组中。Copies the items in the collection to an array, starting at the given index. 仅供内部使用。Intended for internal use only. 此 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. 此 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.

(继承自 ArrayListCollectionBase)
Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetAll()

返回 ObjectListItem 集合中所有项的数组。Returns an array of all the items in the ObjectListItem 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()

检索该集合的枚举器。Retrieves an enumerator for the 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. 此 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.

(继承自 ArrayListCollectionBase)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
IndexOf(ObjectListItem)

返回 ObjectListItemCollection 对象中指定项目的索引。Returns the index of the specified item in an ObjectListItemCollection object. 此 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.

LoadViewState(Object)

将先前保存的视图状态加载到控件。Loads the previously saved view state to the control. 此 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.

MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
SaveViewState()

将服务器控件的视图状态更改保存到 ObjectSaves the changes to a server control's view state to a Object. 此 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.

ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)
TrackViewState()

指示集合跟踪其视图状态的更改。Instructs the collection to track changes to its view state. 此 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.

显式接口实现

IStateManager.IsTrackingViewState

有关此成员的说明,请参见 IsTrackingViewStateFor a description of this member, see IsTrackingViewState. 此 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.

IStateManager.LoadViewState(Object)

有关此成员的说明,请参见 LoadViewState(Object)For a description of this member, see LoadViewState(Object). 此 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.

IStateManager.SaveViewState()

有关此成员的说明,请参见 SaveViewState()For a description of this member, see SaveViewState(). 此 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.

IStateManager.TrackViewState()

有关此成员的说明,请参见 TrackViewState()For a description of this member, see TrackViewState(). 此 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)

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

OfType<TResult>(IEnumerable)

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

AsParallel(IEnumerable)

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

AsQueryable(IEnumerable)

IEnumerable 转换为 IQueryableConverts an IEnumerable to an IQueryable.

安全性

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

适用于

另请参阅