MobileListItemType 列舉

定義

警告

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.

將項目型別指派給 ListObjectList 控制項之子控制項中的項目。 此類別無法獲得繼承。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites

public enum class MobileListItemType
public enum MobileListItemType
[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 enum MobileListItemType
type MobileListItemType = 
[<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 MobileListItemType = 
Public Enum MobileListItemType
繼承
MobileListItemType
屬性

欄位

FooterItem 2

表示清單的頁尾。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites

HeaderItem 0

表示清單的標題。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites

ListItem 1

表示清單中的項目。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites

SeparatorItem 3

表示清單項目間的分隔符號。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites

備註

List當 或 ObjectList 控件在樣板化模式中轉譯時,系統會針對需要轉譯的每個頁首、頁尾或分隔符,建立具有對應專案類型的空白MobileListItem物件。 這些空白物件接著會插入控件的子控件中。

注意

MobileListItem 對應至清單項目的物件一律具有 類型的 ListItem

您可以使用這個列舉來逐一查看控件集合,並尋找 MobileListItem 對應至頁首、頁尾和分隔符範本的物件。

適用於

另請參閱