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 在内部调用。

适用于

另请参阅