ObjectListItemCollection 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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.
表示 ObjectListItem 物件的集合。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites。
public ref class ObjectListItemCollection : System::Web::UI::MobileControls::ArrayListCollectionBase, System::Web::UI::IStateManager
public 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 http://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
[<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.")>]
type ObjectListItemCollection = class
inherit ArrayListCollectionBase
interface IStateManager
Public Class ObjectListItemCollection
Inherits ArrayListCollectionBase
Implements IStateManager
- 繼承
- 屬性
- 實作
備註
類別物件會提供之 ObjectList專案的容器。 存取 Items 的 ObjectList 屬性會 ObjectListItemCollection 擷取 物件。 MobileListItemCollection不同於 類別,應用程式無法以程序設計方式新增或移除這個集合的專案。
屬性
Count |
已淘汰.
傳回集合中的項目數。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites。 (繼承來源 ArrayListCollectionBase) |
IsReadOnly |
已淘汰.
取得值,指出集合是否為唯讀。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites。 (繼承來源 ArrayListCollectionBase) |
IsSynchronized |
已淘汰.
取得值,指出是否同步處理集合。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites。 (繼承來源 ArrayListCollectionBase) |
IsTrackingViewState |
已淘汰.
指出集合是否要追蹤其檢視狀態變更。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites。 |
Item[Int32] |
已淘汰.
依照索引,傳回集合中的 ObjectListCommand 項目。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites。 |
Items |
已淘汰.
取得或設定陣列清單物件中的項目集合。 預設值是 Empty。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites。 (繼承來源 ArrayListCollectionBase) |
SyncRoot |
已淘汰.
傳回集合的 SyncRoot 物件。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites。 (繼承來源 ArrayListCollectionBase) |
方法
Clear() |
已淘汰.
清除集合。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites。 |
Contains(ObjectListItem) |
已淘汰.
傳回集合是否包含指定的項目。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites。 |
CopyTo(Array, Int32) |
已淘汰.
將集合中的項目複製到從指定索引開頭的陣列。 僅供內部使用。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites。 (繼承來源 ArrayListCollectionBase) |
Equals(Object) |
已淘汰.
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
GetAll() |
已淘汰.
傳回 ObjectListItem 集合中所有項目的陣列。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites。 |
GetEnumerator() |
已淘汰.
擷取集合的列舉值。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites。 (繼承來源 ArrayListCollectionBase) |
GetHashCode() |
已淘汰.
做為預設雜湊函式。 (繼承來源 Object) |
GetType() |
已淘汰.
取得目前執行個體的 Type。 (繼承來源 Object) |
IndexOf(ObjectListItem) |
已淘汰.
傳回 ObjectListItemCollection 物件中指定項目的索引。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites。 |
LoadViewState(Object) |
已淘汰.
載入先前儲存之檢視狀態至控制項。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites。 |
MemberwiseClone() |
已淘汰.
建立目前 Object 的淺層複製。 (繼承來源 Object) |
SaveViewState() |
已淘汰.
儲存伺服器控制項檢視狀態的變更,該狀態已變更為 Object。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites。 |
ToString() |
已淘汰.
傳回代表目前物件的字串。 (繼承來源 Object) |
TrackViewState() |
已淘汰.
指示集合追蹤其檢視狀態的變更。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites。 |
明確介面實作
IStateManager.IsTrackingViewState |
已淘汰.
如需這個成員的說明,請參閱 IsTrackingViewState。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites。 |
IStateManager.LoadViewState(Object) |
已淘汰.
如需這個成員的說明,請參閱 LoadViewState(Object)。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites。 |
IStateManager.SaveViewState() |
已淘汰.
如需這個成員的說明,請參閱 SaveViewState()。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites。 |
IStateManager.TrackViewState() |
已淘汰.
如需這個成員的說明,請參閱 TrackViewState()。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites。 |
擴充方法
Cast<TResult>(IEnumerable) |
已淘汰.
將 IEnumerable 的項目轉換成指定的型別。 |
OfType<TResult>(IEnumerable) |
已淘汰.
根據指定的型別來篩選 IEnumerable 的項目。 |
AsParallel(IEnumerable) |
已淘汰.
啟用查詢的平行化作業。 |
AsQueryable(IEnumerable) |
已淘汰.
將 IEnumerable 轉換成 IQueryable。 |
適用於
另請參閱
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應