IPageAdapter IPageAdapter IPageAdapter IPageAdapter Interface

定义

警告

此 API 现已过时。

定义页适配器的接口。 Defines the interface to a page adapter. 若要了解如何开发 ASP.NET 移动应用,请参阅 ASP.NET 移动应用和网站 For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public interface class 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
Public Interface IPageAdapter
Implements IControlAdapter
派生
属性
实现

注解

所有页面适配器必须都实现此接口。All page adapters must implement this interface. 此接口继承自IControlAdapter接口,因此还必须实现的任何类都实现此接口IControlAdapter接口。This interface inherits from the IControlAdapter interface, so any class that implements this interface must also implement the IControlAdapter interface. 最简单的解决方法是从派生类ControlAdapter基本类,该类提供的默认实现IControlAdapter接口。The easiest solution is to derive a class from the ControlAdapter base class, which provides a default implementation of the IControlAdapter interface.

属性

CacheVaryByHeaders CacheVaryByHeaders CacheVaryByHeaders CacheVaryByHeaders

返回任何附加 HTTP 标头(缓存随其而变化)的列表。 Returns a list of any additional HTTP headers by which caching is varied. 此 API 已过时。 This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 ASP.NET 移动应用和网站 For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

CookielessDataDictionary CookielessDataDictionary CookielessDataDictionary CookielessDataDictionary

使用此属性通过使用 URL 查询字符串在各次请求之间保留数据。 Use this property to persist data between requests through the use of the URL query string. 此 API 已过时。 This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 ASP.NET 移动应用和网站 For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

OptimumPageWeight OptimumPageWeight OptimumPageWeight OptimumPageWeight

返回适合目标设备的页权重。 Returns a page weight appropriate for the target device. 用于窗体分页。 Used in form pagination. 此 API 已过时。 This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 ASP.NET 移动应用和网站 For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Page Page Page Page

获取或设置要附加适配器的页。 Gets or sets the page to which the adapter is attached. 此 API 已过时。 This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 ASP.NET 移动应用和网站 For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

PersistCookielessData PersistCookielessData PersistCookielessData PersistCookielessData

获取或设置 CookielessDataDictionary 属性中的项是否保留在查询字符串中。 Gets or sets whether items from the CookielessDataDictionary property are persisted in the query string. 此 API 已过时。 This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 ASP.NET 移动应用和网站 For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

方法

CreateTextWriter(TextWriter) CreateTextWriter(TextWriter) CreateTextWriter(TextWriter) CreateTextWriter(TextWriter)

创建并返回适用于给定适配器的文本编写器。 Creates and returns a text writer suitable for the given adapters. 此 API 已过时。 This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 ASP.NET 移动应用和网站 For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

DeterminePostBackMode(HttpRequest, String, String, NameValueCollection) DeterminePostBackMode(HttpRequest, String, String, NameValueCollection) DeterminePostBackMode(HttpRequest, String, String, NameValueCollection) DeterminePostBackMode(HttpRequest, String, String, NameValueCollection)

调用以确定回发数据集合。 Called to determine the postback data collection. 此 API 已过时。 This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 ASP.NET 移动应用和网站 For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

HandleError(Exception, HtmlTextWriter) HandleError(Exception, HtmlTextWriter) HandleError(Exception, HtmlTextWriter) HandleError(Exception, HtmlTextWriter)

如果处理错误,则返回 true Returns true if it handles the error. 此 API 已过时。 This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 ASP.NET 移动应用和网站 For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

HandlePagePostBackEvent(String, String) HandlePagePostBackEvent(String, String) HandlePagePostBackEvent(String, String) HandlePagePostBackEvent(String, String)

如果处理异常,则返回 true Returns true if it handles the exception. 此 API 已过时。 This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 ASP.NET 移动应用和网站 For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

安全性

AspNetHostingPermission
用于在宿主环境中进行操作。 for operating in a hosted environment. 要求值:InheritanceDemand;权限值:Minimal Demand value: InheritanceDemand; Permission value: Minimal.

适用于

另请参阅