語言

MobilePage.GetControlAdapter(MobileControl) 方法

定義

為指定控制建立並回傳新的裝置專用轉接器。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

public:
 virtual System::Web::UI::MobileControls::IControlAdapter ^ GetControlAdapter(System::Web::UI::MobileControls::MobileControl ^ control);
public virtual System.Web.UI.MobileControls.IControlAdapter GetControlAdapter(System.Web.UI.MobileControls.MobileControl control);
abstract member GetControlAdapter : System.Web.UI.MobileControls.MobileControl -> System.Web.UI.MobileControls.IControlAdapter
override this.GetControlAdapter : System.Web.UI.MobileControls.MobileControl -> System.Web.UI.MobileControls.IControlAdapter
Public Overridable Function GetControlAdapter (control As MobileControl) As IControlAdapter

參數

control
MobileControl

裝置專用轉接器所連接的控制器。

傳回

一個針對指定控制裝置的新轉接器。

備註

此方法由 ASP.NET 內部稱為。

適用於

另請參閱