語言

MobileListItemCollection 類別

定義

警告

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.

代表一組MobileListItem物件,用來存放控制項與控制List項的項目SelectionList。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

public ref class MobileListItemCollection : System::Web::UI::MobileControls::ArrayListCollectionBase, System::Web::UI::IStateManager
public class MobileListItemCollection : 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 MobileListItemCollection : System.Web.UI.MobileControls.ArrayListCollectionBase, System.Web.UI.IStateManager
type MobileListItemCollection = 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 MobileListItemCollection = class
    inherit ArrayListCollectionBase
    interface IStateManager
Public Class MobileListItemCollection
Inherits ArrayListCollectionBase
Implements IStateManager
繼承
MobileListItemCollection
屬性
實作

備註

存取 Items 控制項的 List 屬性或 Items 控制項的 SelectionList 屬性會取得一個 MobileListItemCollection 物件。 你可以在執行時新增或移除收藏中的項目。

物件 MobileListItemCollection 是從 ICollection 介面繼承的。

建構函式

名稱 Description
MobileListItemCollection()
已淘汰.

初始化 MobileListItemCollection 類別的新執行個體。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

MobileListItemCollection(ArrayList)
已淘汰.

使用提供的陣列初始化該 MobileListItemCollection 類別的新實例。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

屬性

名稱 Description
Count
已淘汰.

回傳集合中的元素數量。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

(繼承來源 ArrayListCollectionBase)
IsReadOnly
已淘汰.

會獲得一個值,表示集合是否為唯讀。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

(繼承來源 ArrayListCollectionBase)
IsSynchronized
已淘汰.

會得到一個值,表示集合是否同步。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

(繼承來源 ArrayListCollectionBase)
IsTrackingViewState
已淘汰.

會取得一個值,表示集合是否正在追蹤檢視狀態的變更。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

Item[Int32]
已淘汰.

透過索引取得收藏中的一個 MobileListItem 項目。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

Items
已淘汰.

取得或設定陣列清單物件中的項目集合。 預設值為 Empty。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

(繼承來源 ArrayListCollectionBase)
SyncRoot
已淘汰.

回傳集合的 SyncRoot 物件。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

(繼承來源 ArrayListCollectionBase)

方法

名稱 Description
Add(MobileListItem)
已淘汰.

將一個項目加入收藏的結尾。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

Add(String)
已淘汰.

將一個項目加入集合的末尾,並以所提供的字串作為 Text 屬性。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

Clear()
已淘汰.

清空了收款。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

Contains(MobileListItem)
已淘汰.

會獲得一個值,表示該項目是否包含在集合中。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

CopyTo(Array, Int32)
已淘汰.

將集合中的項目從給定索引開始複製到陣列。 僅供內部使用。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

(繼承來源 ArrayListCollectionBase)
Equals(Object)
已淘汰.

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetAll()
已淘汰.

將指定集合中的項目作為單一物件陣列 MobileListItem 取得。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

GetEnumerator()
已淘汰.

為集合檢索一個列舉器。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

(繼承來源 ArrayListCollectionBase)
GetHashCode()
已淘汰.

做為預設哈希函式。

(繼承來源 Object)
GetType()
已淘汰.

取得目前實例的 Type。

(繼承來源 Object)
IndexOf(MobileListItem)
已淘汰.

取得物件中 MobileListItemCollection 指定項目的索引。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

Insert(Int32, MobileListItem)
已淘汰.

將項目加入集合中指定的位置。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

Insert(Int32, String)
已淘汰.

將項目加入集合中指定的位置。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

LoadViewState(Object)
已淘汰.

載入集合先前儲存的檢視狀態。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

MemberwiseClone()
已淘汰.

建立目前 Object的淺層複本。

(繼承來源 Object)
Remove(MobileListItem)
已淘汰.

移除指定值的項目。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

Remove(String)
已淘汰.

移除指定值的項目。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

RemoveAt(Int32)
已淘汰.

拿掉位於指定索引處的專案。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

SaveViewState()
已淘汰.

將伺服器控制項的檢視狀態變更儲存為 Object。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

SetAll(MobileListItem[])
已淘汰.

將物件陣列 MobileListItem 設定為 MobileListItemCollection。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

ToString()
已淘汰.

傳回表示目前 物件的字串。

(繼承來源 Object)
TrackViewState()
已淘汰.

指示集合追蹤其檢視狀態的變化。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

明確介面實作

名稱 Description
IStateManager.IsTrackingViewState
已淘汰.

關於此成員的描述,請參見 IsTrackingViewState。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

IStateManager.LoadViewState(Object)
已淘汰.

關於此成員的描述,請參見 LoadViewState(Object)。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

IStateManager.SaveViewState()
已淘汰.

關於此成員的描述,請參見 SaveViewState()。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

IStateManager.TrackViewState()
已淘汰.

關於此成員的描述,請參見 TrackViewState()。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

擴充方法

名稱 Description
AsParallel(IEnumerable)
已淘汰.

啟用查詢的平行處理。

AsQueryable(IEnumerable)
已淘汰.

將 IEnumerable 轉換成 IQueryable。

Cast<TResult>(IEnumerable)
已淘汰.

將 IEnumerable 的項目轉換成指定的型別。

OfType<TResult>(IEnumerable)
已淘汰.

根據指定的型別篩選 IEnumerable 的專案。

適用於

另請參閱