語言

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 。

屬性

名稱 Description
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)

方法

名稱 Description
CreateTemplatedUI(Boolean)
已淘汰.

基底類別呼叫來建立模板化的使用者介面。

(繼承來源 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)
已淘汰.

如果轉接器能載入後續資料,則會回傳 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)

適用於

另請參閱