ObjectListFieldCollection 類別
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 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.
表示 ObjectListField 物件的集合。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites。
public ref class ObjectListFieldCollection : System::Web::UI::MobileControls::ArrayListCollectionBase, System::Collections::ICollection, System::Web::UI::IStateManager, System::Web::UI::MobileControls::IObjectListFieldCollection
public class ObjectListFieldCollection : System.Web.UI.MobileControls.ArrayListCollectionBase, System.Collections.ICollection, System.Web.UI.IStateManager, System.Web.UI.MobileControls.IObjectListFieldCollection
[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 ObjectListFieldCollection : System.Web.UI.MobileControls.ArrayListCollectionBase, System.Collections.ICollection, System.Web.UI.IStateManager, System.Web.UI.MobileControls.IObjectListFieldCollection
type ObjectListFieldCollection = class
inherit ArrayListCollectionBase
interface IObjectListFieldCollection
interface ICollection
interface IEnumerable
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 ObjectListFieldCollection = class
inherit ArrayListCollectionBase
interface IObjectListFieldCollection
interface ICollection
interface IEnumerable
interface IStateManager
Public Class ObjectListFieldCollection
Inherits ArrayListCollectionBase
Implements ICollection, IObjectListFieldCollection, IStateManager
- 繼承
- 屬性
- 實作
這個類別物件會提供的欄位容器 ObjectList。 存取 Fields 的 ObjectList 屬性會 ObjectListFieldCollection 擷取 物件。
類別的屬性 ObjectListFieldCollection 和方法是 介面的 IObjectListFieldCollection 超集。 該介面的所有屬性和方法,包括繼承自 ASP.NET ICollection 介面的所有屬性和方法,都適用在這裡。 這個類別提供其他屬性和方法來修改集合。 這些屬性和方法提供標準集合管理功能,例如新增、移除和清除集合。
如果您在Page_Init期間呼叫 方法 Add、 AddAt、 Remove或 RemoveAt 來變更集合,則會忽略物件清單的 Fields、 Items和 ViewMode 屬性的檢視狀態。
Count |
已淘汰.
傳回集合中的項目數。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET。 (繼承來源 ArrayListCollectionBase) |
Is |
已淘汰.
取得值,指出集合是否為唯讀。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET。 (繼承來源 ArrayListCollectionBase) |
Is |
已淘汰.
取得值,指出是否同步處理集合。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET。 (繼承來源 ArrayListCollectionBase) |
Is |
已淘汰.
指出集合是否要追蹤其檢視狀態變更。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET。 |
Item[Int32] |
已淘汰.
ObjectListFieldCollection 類別的預設索引子 (Indexer),允許依索引查閱任意功能值。 任何屬性都可依名稱存取。 不過,傳回的值永遠是字串 (若未定義則為 |
Items |
已淘汰.
取得或設定陣列清單物件中的項目集合。 預設值是 Empty。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET。 (繼承來源 ArrayListCollectionBase) |
Sync |
已淘汰.
傳回集合的 SyncRoot 物件。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET。 (繼承來源 ArrayListCollectionBase) |
Add(Object |
已淘汰.
將欄位加入至集合的結尾。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET。 |
Add |
已淘汰.
將欄位加入至索引參數所指定之集合中的位置。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET。 |
Clear() |
已淘汰.
清除集合。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET。 |
Copy |
已淘汰.
將集合中的項目複製到從指定索引開頭的陣列。 僅供內部使用。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET。 (繼承來源 ArrayListCollectionBase) |
Equals(Object) |
已淘汰.
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
Get |
已淘汰.
以單一的 ObjectListItem 物件陣列,傳回指定集合中的項目。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET。 |
Get |
已淘汰.
擷取集合的列舉值。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET。 (繼承來源 ArrayListCollectionBase) |
Get |
已淘汰.
做為預設雜湊函式。 (繼承來源 Object) |
Get |
已淘汰.
取得目前執行個體的 Type。 (繼承來源 Object) |
Index |
已淘汰.
傳回欄位的索引。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET。 |
Index |
已淘汰.
傳回欄位的索引。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET。 |
Load |
已淘汰.
載入先前儲存之檢視狀態至控制項。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET。 |
Memberwise |
已淘汰.
建立目前 Object 的淺層複製。 (繼承來源 Object) |
Remove(Object |
已淘汰.
移除指定的欄位。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET。 |
Remove |
已淘汰.
移除指定之索引處的項目。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET。 |
Save |
已淘汰.
儲存伺服器控制項檢視狀態的變更,該狀態已變更為 Object。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET。 |
Set |
已淘汰.
將 ObjectListItem 物件的陣列設定為 ObjectListFieldCollection。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET。 |
To |
已淘汰.
傳回代表目前物件的字串。 (繼承來源 Object) |
Track |
已淘汰.
指示集合追蹤其檢視狀態的變更。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites。 |
IState |
已淘汰.
如需這個成員的說明,請參閱 IsTrackingViewState。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET。 |
IState |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。
已淘汰.
如需這個成員的說明,請參閱 LoadViewState(Object)。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites。 |
IState |
已淘汰.
如需這個成員的說明,請參閱 SaveViewState()。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites。 |
IState |
已淘汰.
如需這個成員的說明,請參閱 TrackViewState()。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites。 |
Cast<TResult>(IEnumerable) |
已淘汰.
將 IEnumerable 的項目轉換成指定的型別。 |
Of |
已淘汰.
根據指定的型別來篩選 IEnumerable 的項目。 |
As |
已淘汰.
啟用查詢的平行化作業。 |
As |
已淘汰.
將 IEnumerable 轉換成 IQueryable。 |
產品 | 版本 (已過時) |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5 (4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1) |