共用方式為


IControlAdapter 介面

定義

警告

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 IControlAdapter
public 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.")]
public interface IControlAdapter
type IControlAdapter = interface
[<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 IControlAdapter = interface
Public Interface IControlAdapter
衍生
屬性

備註

所有控制轉接器都必須實作該 IControlAdapter 介面。 通常,控制介面卡會直接或間接繼承自 ControlAdapter 基底類別,基底類別提供此介面的預設實作。

屬性

名稱 Description
Control
已淘汰.

回傳一個強型別的參考給對應的控制項。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

ItemWeight
已淘汰.

存取控制中單一項目的大致重量。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

Page
已淘汰.

會回傳與裝置轉接器相關的頁面。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

VisibleWeight
已淘汰.

回傳控制的大致權重,以字元為單位。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

方法

名稱 Description
CreateTemplatedUI(Boolean)
已淘汰.

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

HandlePostBackEvent(String)
已淘汰.

如果事件被處理,則會回傳 true 。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

LoadAdapterState(Object)
已淘汰.

回傳控制器專用的介面。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

LoadPostData(String, NameValueCollection, Object, Boolean)
已淘汰.

如果轉接器能載入後續資料,則會回傳 true 。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

OnInit(EventArgs)
已淘汰.

在物件(如表單或頁面)初始化後呼叫。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

OnLoad(EventArgs)
已淘汰.

載入與控制項、頁面或裝置介面卡相關的資料。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

OnPreRender(EventArgs)
已淘汰.

控制項的方法呼叫 OnPreRender(EventArgs) 此指令,用於在渲染前執行轉接器專用工作。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

OnUnload(EventArgs)
已淘汰.

卸載與控制項、頁面或裝置介面卡相關的資料。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

Render(HtmlTextWriter)
已淘汰.

由控制項 Render(HtmlTextWriter) 的方法呼叫來執行渲染。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

SaveAdapterState()
已淘汰.

當控制項儲存其私有視圖狀態時,會呼叫此方法。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

適用於

另請參閱