WmlLiteralTextAdapter 類別

定義

警告

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.

為無線標記語言 (WML) 裝置配接器集提供 LiteralText 配接器類別。Provides a LiteralText adapter class for the Wireless Markup Language (WML) device adapter set. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

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

建構函式

WmlLiteralTextAdapter()

建立 WmlLiteralTextAdapter 類別的執行個體。Creates an instance of the WmlLiteralTextAdapter class. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

屬性

Control

傳回關聯控制項的強型別參考。Returns a strongly typed reference to the associated control. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Device

傳回與要求關聯的裝置功能物件。Returns the device capabilities object associated with the request. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(繼承來源 ControlAdapter)
FormAdapter

從關聯控制項所在的表單擷取表單配接器。Retrieves the form adapter for the form on which the associated control resides. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(繼承來源 WmlControlAdapter)
ItemWeight

存取控制項中單一項目的近似權重。Accesses the approximate weight of a single item in the control. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(繼承來源 ControlAdapter)
Page

傳回裝置配置器所關聯的頁面。Returns the page associated with the device adapter. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(繼承來源 ControlAdapter)
PageAdapter

傳回行動頁面的頁面配置器。Returns the page adapter for the mobile page. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(繼承來源 WmlControlAdapter)
SecondaryUIMode

設定或傳回控制項的第二個使用者介面 (UI) 模式。Sets or returns the secondary user interface (UI) mode for the control. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(繼承來源 WmlControlAdapter)
Style

傳回與附加裝置配接器的控制項相關聯的樣式物件。Returns the style object associated with the control to which the device adapter is attached. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(繼承來源 ControlAdapter)
VisibleWeight

取得或設定控制項的近似權重 (以字元為單位)。Gets or sets the approximate weight of the control, in characters. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(繼承來源 ControlAdapter)

方法

CalculateOptimumPageWeight(Int32)

判斷裝置的最佳頁面重量。Determines the optimum page weight for the device. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(繼承來源 ControlAdapter)
CreateTemplatedUI(Boolean)

控制項會呼叫此方法來建立範本化使用者介面 (UI)。Called by a control to create a templated user interface (UI). 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(繼承來源 ControlAdapter)
DeterminePostBack(String)

判斷指定的目標是否需要回傳,並傳回需要的回傳引數。Determines whether the given target requires a postback and returns the required postback argument. 如果目標是外部連結,則傳回 nullReturns null if the target is an external link. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(繼承來源 WmlControlAdapter)
Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
ExitSecondaryUIMode()

結束控制項的任何第二個使用者介面 (UI) 模式。Exits any secondary user interface (UI) mode for the control. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(繼承來源 WmlControlAdapter)
GetDefaultLabel(Int32)

傳回標籤控制項的當地語系化預設字串。Returns the localized default string for the label control. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(繼承來源 ControlAdapter)
GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(繼承來源 Object)
GetPostBackValue()

當已設定父表單的 action 屬性,且控制項的檢視狀態為停用時,傳回選擇清單中選取項目的回傳值 (或空字串)。Returns the postback value (or empty string) of the selected item in the selection list, when the parent form's action attribute is set and view state is disabled for the control. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(繼承來源 WmlControlAdapter)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
HandlePostBackEvent(String)

如果事件已處理,則傳回 trueReturns true if the event was handled. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(繼承來源 ControlAdapter)
LoadAdapterState(Object)

載入檢視狀態。Loads the view state. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(繼承來源 WmlControlAdapter)
LoadPostData(String, NameValueCollection, Object, Boolean)

如果由配接器處理張貼資料的載入作業,則傳回 trueReturns true if the adapter handles loading the post data. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(繼承來源 ControlAdapter)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
OnInit(EventArgs)

物件 (例如表單或頁面) 初始化之後呼叫。Called after an object, such as a form or a page, is initialized. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(繼承來源 ControlAdapter)
OnLoad(EventArgs)

載入與控制項、頁面或裝置配接器有關的資料。Loads data that pertains to a control, a page, or a device adapter. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(繼承來源 ControlAdapter)
OnPreRender(EventArgs)

由控制項的 OnPreRender(EventArgs) 方法呼叫,用以在呈現前先執行配置器的專屬工作。Called by the control's OnPreRender(EventArgs) method, to perform adapter-specific work prior to rendering. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(繼承來源 ControlAdapter)
OnUnload(EventArgs)

卸載控制項、頁面或裝置配接器的相關資料。Unloads data that pertains to a control, a page, or a device adapter. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(繼承來源 ControlAdapter)
Render(HtmlTextWriter)

使用提供的寫入器,為附加控制項配接器的控制項,產生特定目標的標記。Generates the target-specific markup for the control to which the control adapter is attached, using the provided writer. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(繼承來源 WmlControlAdapter)
Render(WmlMobileTextWriter)

為附加控制項配接器的控制項,產生目標特定的標記。Generates the target-specific markup for the control to which the control adapter is attached. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

RenderBeginLink(WmlMobileTextWriter, String, String, Boolean, Boolean)

呈現連結的開頭標記。Renders the opening tag of a link. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(繼承來源 WmlControlAdapter)
RenderChildren(HtmlTextWriter)

呈現控制項的子系。Renders children of the control. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(繼承來源 ControlAdapter)
RenderEndLink(WmlMobileTextWriter, String, Boolean)

呈現連結的結束標記。Renders the end tag of a link. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(繼承來源 WmlControlAdapter)
RenderLink(WmlMobileTextWriter, String, String, Boolean, Boolean, String, Boolean)

呈現整個連結,其中含有指定的文字。Renders an entire link, with the specified text inside. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(繼承來源 WmlControlAdapter)
RenderPostBackEvent(WmlMobileTextWriter, String, String, Boolean, String, Boolean)

呈現以控制項當做目標的回傳事件。Renders a postback event with the control as a target. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(繼承來源 WmlControlAdapter)
RenderPostBackEvent(WmlMobileTextWriter, String, String, Boolean, String, Boolean, WmlPostFieldType)

呈現以控制項當做目標的回傳事件。Renders a postback event with the control as a target. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(繼承來源 WmlControlAdapter)
RenderSubmitEvent(WmlMobileTextWriter, String, String, Boolean)

呈現適用於裝置的表單送出事件。Renders a form submission event appropriate for the device. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(繼承來源 WmlControlAdapter)
SaveAdapterState()

當控制項儲存其私用檢視狀態時,會呼叫這個方法。This method is called when the control saves its private view state. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(繼承來源 WmlControlAdapter)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於

另請參閱