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)

如果适配器处理 post 数据的加载,则返回 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)

适用于

另请参阅