Bewerken

Delen via


MobilePage.GetControlAdapter(MobileControl) Method

Definition

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.

Applies to

See also