XhtmlPageAdapter.DeviceQualifies Method

Indicates whether the device adapter set applies to the specified request.

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

public:
static bool DeviceQualifies (
	HttpContext^ context
)
public static boolean DeviceQualifies (
	HttpContext context
)
public static function DeviceQualifies (
	context : HttpContext
) : boolean
Not applicable.

Parameters

context

The HttpContext object for the current request.

Return Value

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

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: