MobilePage.GetControlAdapter(MobileControl) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates and returns a new device-specific adapter for the specified control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with 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
Parameters
- control
- MobileControl
The control to which the device-specific adapter is attached.
Returns
A new device-specific adapter for the specified control.
Remarks
This method is called internally by ASP.NET.