HtmlLabelAdapter 類別

定義

警告

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.

提供一個標籤適配器類別,用於 HTML 適配器集。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

public ref class HtmlLabelAdapter : System::Web::UI::MobileControls::Adapters::HtmlControlAdapter
public class HtmlLabelAdapter : System.Web.UI.MobileControls.Adapters.HtmlControlAdapter
[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 HtmlLabelAdapter : System.Web.UI.MobileControls.Adapters.HtmlControlAdapter
type HtmlLabelAdapter = class
    inherit HtmlControlAdapter
[<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 HtmlLabelAdapter = class
    inherit HtmlControlAdapter
Public Class HtmlLabelAdapter
Inherits HtmlControlAdapter
繼承
屬性

備註

此類別主要用於自訂行動頁面與控制轉接器的開發者。

建構函式

名稱 Description
HtmlLabelAdapter()
已淘汰.

建立一個新的類別實例 HtmlLabelAdapter 。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

屬性

名稱 Description
Control
已淘汰.

回傳一個強型別的參考給對應的控制項。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

Device
已淘汰.

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

(繼承來源 ControlAdapter)
FormAdapter
已淘汰.

取得該控制項所在表單的表單適配器。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

(繼承來源 HtmlControlAdapter)
ItemWeight
已淘汰.

存取控制中單一項目的大致重量。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

(繼承來源 ControlAdapter)
Page
已淘汰.

會回傳與裝置轉接器相關的頁面。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

(繼承來源 ControlAdapter)
PageAdapter
已淘汰.

回傳行動頁面的分頁轉接器。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

(繼承來源 HtmlControlAdapter)
RequiresFormTag
已淘汰.

會取得一個值,表示介面卡(如類別 ChtmlCommandAdapter )是否產生需要 <Form> 標籤才能提交表單的標記。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

(繼承來源 HtmlControlAdapter)
SecondaryUIMode
已淘汰.

設定或回傳控制的次要使用者介面(UI)模式。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

(繼承來源 HtmlControlAdapter)
Style
已淘汰.

回傳與裝置介面卡所連接控制項相關的樣式物件。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

(繼承來源 ControlAdapter)
VisibleWeight
已淘汰.

取得或設定控制權的大致權重,以字元計算。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

(繼承來源 ControlAdapter)

方法

名稱 Description
AddAccesskeyAttribute(HtmlMobileTextWriter)
已淘汰.

在裝置支援該屬性時,會撰寫自訂屬性存取金鑰方法。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

(繼承來源 HtmlControlAdapter)
AddAttributes(HtmlMobileTextWriter)
已淘汰.

寫入特定於轉接器的額外屬性。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

(繼承來源 HtmlControlAdapter)
AddJPhoneMultiMediaAttributes(HtmlMobileTextWriter)
已淘汰.

使用此方法為 J-Phone 多媒體屬性撰寫自訂屬性。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

(繼承來源 HtmlControlAdapter)
CalculateOptimumPageWeight(Int32)
已淘汰.

決定裝置的最佳頁面權重。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

(繼承來源 ControlAdapter)
CreateTemplatedUI(Boolean)
已淘汰.

由控制項呼叫以建立模板化使用者介面(UI)。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

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

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

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

退出控制項的任何次要使用者介面(UI)模式。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

(繼承來源 HtmlControlAdapter)
GetDefaultLabel(Int32)
已淘汰.

回傳標籤控制項的在地預設字串。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

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

做為預設哈希函式。

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

取得目前實例的 Type

(繼承來源 Object)
HandlePostBackEvent(String)
已淘汰.

如果事件被處理,則會回傳 true 。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

(繼承來源 ControlAdapter)
LoadAdapterState(Object)
已淘汰.

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

(繼承來源 HtmlControlAdapter)
LoadPostData(String, NameValueCollection, Object, Boolean)
已淘汰.

如果轉接器能載入後續資料,則會回傳 true 。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

(繼承來源 ControlAdapter)
MemberwiseClone()
已淘汰.

建立目前 Object的淺層複本。

(繼承來源 Object)
OnInit(EventArgs)
已淘汰.

在物件(如表單或頁面)初始化後呼叫。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

(繼承來源 ControlAdapter)
OnLoad(EventArgs)
已淘汰.

載入與控制項、頁面或裝置介面卡相關的資料。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

(繼承來源 ControlAdapter)
OnPreRender(EventArgs)
已淘汰.

控制項的方法呼叫 OnPreRender(EventArgs) 此指令,用於在渲染前執行轉接器專用工作。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

(繼承來源 ControlAdapter)
OnUnload(EventArgs)
已淘汰.

卸載與控制項、頁面或裝置介面卡相關的資料。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

(繼承來源 ControlAdapter)
Render(HtmlMobileTextWriter)
已淘汰.

由控制項 Render(HtmlTextWriter) 的方法呼叫來執行渲染。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

Render(HtmlTextWriter)
已淘汰.

由控制項的 Render 方法呼叫來執行渲染。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

(繼承來源 HtmlControlAdapter)
RenderAsHiddenInputField(HtmlMobileTextWriter)
已淘汰.

渲染控制項的隱藏欄位文字。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

(繼承來源 HtmlControlAdapter)
RenderBeginLink(HtmlMobileTextWriter, String)
已淘汰.

會呈現連結的開頭標籤。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

(繼承來源 HtmlControlAdapter)
RenderChildren(HtmlTextWriter)
已淘汰.

使控制的孩子脫離控制。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

(繼承來源 ControlAdapter)
RenderEndLink(HtmlMobileTextWriter)
已淘汰.

渲染連結的結尾標籤。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

(繼承來源 HtmlControlAdapter)
RenderPostBackEventAsAnchor(HtmlMobileTextWriter, String, String)
已淘汰.

將回推事件渲染為錨點,文字由參數指定 linkText 為標籤。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

(繼承來源 HtmlControlAdapter)
RenderPostBackEventAsAttribute(HtmlMobileTextWriter, String, String)
已淘汰.

將一個後回傳事件渲染為屬性。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

(繼承來源 HtmlControlAdapter)
RenderPostBackEventReference(HtmlMobileTextWriter, String)
已淘汰.

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

(繼承來源 HtmlControlAdapter)
SaveAdapterState()
已淘汰.

當控制項儲存其私有視圖狀態時,會呼叫此方法。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

(繼承來源 HtmlControlAdapter)
ToString()
已淘汰.

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

(繼承來源 Object)
WhiteSpace(String)
已淘汰.

掃描字串以判斷是否包含空白字元。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

適用於

另請參閱