HtmlPageAdapter 类

定义

注意

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

构造函数

名称 说明
HtmlPageAdapter()
已过时.

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

HtmlPageAdapter(Int32)
已过时.

初始化类的 HtmlPageAdapter 实例。 此 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)
EventArgumentKey
已过时.

返回用于提交事件参数的密钥。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

EventSourceKey
已过时.

返回用于提交事件源的密钥。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

FormAdapter
已过时.

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

(继承自 HtmlControlAdapter)
ItemWeight
已过时.

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

(继承自 ControlAdapter)
OptimumPageWeight
已过时.

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

Page
已过时.

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

PageAdapter
已过时.

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

(继承自 HtmlControlAdapter)
PersistCookielessData
已过时.

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

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)

方法

名称 说明
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)
CreateTextWriter(TextWriter)
已过时.

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

DeterminePostBackMode(HttpRequest, String, String, NameValueCollection)
已过时.

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

DeviceQualifies(HttpContext)
已过时.

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

Equals(Object)
已过时.

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

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

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

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

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

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

返回可用于唯一标识表单的 URL。 此 URL 只能作为参数 BeginFile(String, String, String) 传递给文本编写器的方法。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

GetHashCode()
已过时.

用作默认哈希函数。

(继承自 Object)
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 的网站。

(继承自 HtmlControlAdapter)
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(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)
RenderForm(HtmlMobileTextWriter, Form)
已过时.

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

RenderHiddenVariables(HtmlMobileTextWriter)
已过时.

将页面上的所有隐藏变量呈现为隐藏的输入字段。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

RenderPostBackEvent(HtmlMobileTextWriter, String, String)
已过时.

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

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)
RenderPostBackHeader(HtmlMobileTextWriter, Form)
已过时.

呈现与回发关联的标头。 对于支持脚本的浏览器,这包括执行回发的脚本块。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

RenderUrlPostBackEvent(HtmlMobileTextWriter, String, String)
已过时.

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

SaveAdapterState()
已过时.

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

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

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

(继承自 Object)

适用于

另请参阅