Redigera

Dela via


XhtmlPageAdapter.DeviceQualifies(HttpContext) Method

Definition

Indicates whether the device adapter set applies to the specified request. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 static bool DeviceQualifies(System::Web::HttpContext ^ context);
public static bool DeviceQualifies (System.Web.HttpContext context);
static member DeviceQualifies : System.Web.HttpContext -> bool
Public Shared Function DeviceQualifies (context As HttpContext) As Boolean

Parameters

context
HttpContext

The HttpContext object for the current request.

Returns

true if the PreferredRenderingType for the browser is one of these members of the Doctype object: XhtmlBasic, XhtmlMobileProfile, or Wml20; otherwise, false.

Applies to

See also