通过


WmlPageAdapter 类

定义

注意

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.

MobilePage为无线标记语言(WML)设备适配器集提供适配器。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

public ref class WmlPageAdapter : System::Web::UI::MobileControls::Adapters::WmlControlAdapter, System::Web::UI::MobileControls::IPageAdapter
public class WmlPageAdapter : System.Web.UI.MobileControls.Adapters.WmlControlAdapter, System.Web.UI.MobileControls.IPageAdapter
[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 WmlPageAdapter : System.Web.UI.MobileControls.Adapters.WmlControlAdapter, System.Web.UI.MobileControls.IPageAdapter
type WmlPageAdapter = class
    inherit WmlControlAdapter
    interface IPageAdapter
    interface IControlAdapter
[<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 WmlPageAdapter = class
    inherit WmlControlAdapter
    interface IPageAdapter
    interface IControlAdapter
Public Class WmlPageAdapter
Inherits WmlControlAdapter
Implements IPageAdapter
继承
派生
属性
实现

构造函数

名称 说明
WmlPageAdapter()
已过时.

创建 WmlPageAdapter 类的实例。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

属性

名称 说明
CacheVaryByHeaders
已过时.

返回任何其他 HTTP 标头的列表,这些标头的缓存会有所不同。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

Control
已过时.

返回对关联控件的强类型引用。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

(继承自 ControlAdapter)
CookielessDataDictionary
已过时.

使用 URL 查询字符串获取或设置请求之间的持久化数据。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

Device
已过时.

返回与请求关联的设备功能对象。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

(继承自 ControlAdapter)
FormAdapter
已过时.

检索关联控件所在的窗体的窗体适配器。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

(继承自 WmlControlAdapter)
ItemWeight
已过时.

访问控件中单个项的大致权重。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

(继承自 ControlAdapter)
OptimumPageWeight
已过时.

根据设备的屏幕大小(适合目标设备)返回页面权重。 此属性用于窗体分页。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

Page
已过时.

获取或设置 MobilePage 适配器附加到的项。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

PageAdapter
已过时.

返回移动页面的页面适配器。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

(继承自 WmlControlAdapter)
PersistCookielessData
已过时.

设置或返回属性中的 CookielessDataDictionary 项是否保存在查询字符串中。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

SecondaryUIMode
已过时.

设置或返回控件的辅助用户界面(UI)模式。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

(继承自 WmlControlAdapter)
Style
已过时.

返回与设备适配器附加到的控件关联的样式对象。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

(继承自 ControlAdapter)
VisibleWeight
已过时.

获取或设置控件的近似权重(以字符为单位)。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

(继承自 ControlAdapter)

方法

名称 说明
CalculateOptimumPageWeight(Int32)
已过时.

确定设备的最佳页面权重。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

(继承自 ControlAdapter)
CreateTemplatedUI(Boolean)
已过时.

由控件调用以创建模板化用户界面(UI)。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

(继承自 ControlAdapter)
CreateTextWriter(TextWriter)
已过时.

创建并返回适合给定适配器的文本编写器。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

DeterminePostBack(String)
已过时.

确定给定目标是否需要回发并返回所需的回发参数。 返回 null 目标是否为外部链接。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

(继承自 WmlControlAdapter)
DeterminePostBackMode(HttpRequest, String, String, NameValueCollection)
已过时.

调用以确定回发数据收集。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

DeviceQualifies(HttpContext)
已过时.

评估设备适配器集是否适用于指定的请求。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

Equals(Object)
已过时.

确定指定对象是否等于当前对象。

(继承自 Object)
ExitSecondaryUIMode()
已过时.

退出控件的任何辅助用户界面 (UI) 模式。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

(继承自 WmlControlAdapter)
GetDefaultLabel(Int32)
已过时.

返回标签控件的本地化默认字符串。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

(继承自 ControlAdapter)
GetHashCode()
已过时.

用作默认哈希函数。

(继承自 Object)
GetPostBackValue()
已过时.

在设置父窗体的操作属性并禁用控件的视图状态时,返回选定列表中的选定项的回发值(或空字符串)。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

(继承自 WmlControlAdapter)
GetType()
已过时.

获取当前实例的 Type

(继承自 Object)
HandleError(Exception, HtmlTextWriter)
已过时.

如果在页面的生命周期内发生未经处理的异常,则调用该异常。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

HandlePagePostBackEvent(String, String)
已过时.

如果它处理异常,则返回 true 。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

HandlePostBackEvent(String)
已过时.

返回 true 是否已处理事件。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

(继承自 ControlAdapter)
IsFormRendered(Form)
已过时.

返回指定表单是否呈现为当前请求的一部分。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

LoadAdapterState(Object)
已过时.

加载视图状态。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

(继承自 WmlControlAdapter)
LoadPostData(String, NameValueCollection, Object, Boolean)
已过时.

如果适配器处理加载 post 数据,则返回 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(HtmlTextWriter)
已过时.

使用提供的编写器为附加控件适配器的控件生成特定于目标的标记。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

(继承自 WmlControlAdapter)
Render(WmlMobileTextWriter)
已过时.

为附加控件适配器的控件生成特定于目标的标记。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

RenderBeginLink(WmlMobileTextWriter, String, String, Boolean, Boolean)
已过时.

呈现链接的开始标记。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

(继承自 WmlControlAdapter)
RenderChildren(HtmlTextWriter)
已过时.

呈现控件的子级。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

(继承自 ControlAdapter)
RenderEndLink(WmlMobileTextWriter, String, Boolean)
已过时.

呈现链接的结束标记。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

(继承自 WmlControlAdapter)
RenderForm(WmlMobileTextWriter, Form)
已过时.

呈现给定窗体。 此方法由表单适配器调用。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

RenderLink(WmlMobileTextWriter, String, String, Boolean, Boolean, String, Boolean)
已过时.

呈现包含指定文本的整个链接。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

(继承自 WmlControlAdapter)
RenderPostBackEvent(WmlMobileTextWriter, String, String, Boolean, String, Boolean, WmlPostFieldType)
已过时.

将控件作为目标呈现回发事件。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

(继承自 WmlControlAdapter)
RenderPostBackEvent(WmlMobileTextWriter, String, String, Boolean, String, Boolean)
已过时.

将控件作为目标呈现回发事件。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

(继承自 WmlControlAdapter)
RendersMultipleForms()
已过时.

返回是否 MobilePage 将多个表单呈现为同一组卡片。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

RenderSubmitEvent(WmlMobileTextWriter, String, String, Boolean)
已过时.

呈现适合设备的表单提交事件。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

(继承自 WmlControlAdapter)
SaveAdapterState()
已过时.

当控件保存其专用视图状态时,将调用此方法。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

(继承自 WmlControlAdapter)
ToString()
已过时.

返回一个表示当前对象的字符串。

(继承自 Object)

适用于

另请参阅