通过


IPageAdapter 接口

定义

注意

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.

定义页面适配器的接口。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

public interface class IPageAdapter : System::Web::UI::MobileControls::IControlAdapter
public interface IPageAdapter : System.Web.UI.MobileControls.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.")]
public interface IPageAdapter : System.Web.UI.MobileControls.IControlAdapter
type IPageAdapter = interface
    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 IPageAdapter = interface
    interface IControlAdapter
Public Interface IPageAdapter
Implements IControlAdapter
派生
属性
实现

注解

所有页面适配器都必须实现此接口。 此接口继承自 IControlAdapter 接口,因此实现此接口的任何类也必须实现 IControlAdapter 接口。 最简单的解决方案是从基类派生类 ControlAdapter ,该基类提供接口的默认实现 IControlAdapter

属性

名称 说明
CacheVaryByHeaders
已过时.

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

Control
已过时.

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

(继承自 IControlAdapter)
CookielessDataDictionary
已过时.

使用此属性通过 URL 查询字符串在请求之间保留数据。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

ItemWeight
已过时.

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

(继承自 IControlAdapter)
OptimumPageWeight
已过时.

返回适合目标设备的页粗细。 用于窗体分页。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

Page
已过时.

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

PersistCookielessData
已过时.

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

VisibleWeight
已过时.

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

(继承自 IControlAdapter)

方法

名称 说明
CreateTemplatedUI(Boolean)
已过时.

由基类调用以创建模板化 UI。

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

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

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

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

HandleError(Exception, HtmlTextWriter)
已过时.

如果处理错误,则返回 true 。 此 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 的网站。

(继承自 IControlAdapter)
LoadAdapterState(Object)
已过时.

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

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

如果适配器处理加载 post 数据,则返回 true 。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

(继承自 IControlAdapter)
OnInit(EventArgs)
已过时.

在对象(如窗体或页面)后调用,将初始化。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

(继承自 IControlAdapter)
OnLoad(EventArgs)
已过时.

加载与控件、页面或设备适配器相关的数据。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

(继承自 IControlAdapter)
OnPreRender(EventArgs)
已过时.

由控件 OnPreRender(EventArgs) 的方法调用,在呈现之前执行特定于适配器的工作。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

(继承自 IControlAdapter)
OnUnload(EventArgs)
已过时.

卸载与控件、页面或设备适配器相关的数据。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

(继承自 IControlAdapter)
Render(HtmlTextWriter)
已过时.

由控件 Render(HtmlTextWriter) 的方法调用以执行呈现。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

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

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

(继承自 IControlAdapter)

适用于

另请参阅