XhtmlPageAdapter.DeviceQualifies Method (HttpContext)

 

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 the www.asp.net/mobile Web site.

Namespace:   System.Web.UI.MobileControls.Adapters.XhtmlAdapters
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

Public Shared Function DeviceQualifies (
	context As HttpContext
) As Boolean

Parameters

context
Type: System.Web.HttpContext

The HttpContext object for the current request.

Return Value

Type: System.Boolean

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

.NET Framework
Available since 2.0
Return to top
Show: