ChtmlPageAdapter::DeviceQualifies Method
Evaluates 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.
Assembly: System.Web.Mobile (in System.Web.Mobile.dll)
Parameters
- context
- Type: System.Web::HttpContext
The current request context.
Return Value
Type: System::Booleantrue if the device adapter set applies to the specified request; otherwise, false.
Class | Returns | Preferred rendering type | Check value of JavaScript property |
|---|---|---|---|
true | Checks whether the value of the PreferredRenderingType is PreferredRenderingTypeHtml32 or PreferredRenderingTypeChtml10. | The JavaScript returns true. | |
true | Checks whether the PreferredRenderingType is PreferredRenderingTypeHtml32 or PreferredRenderingTypeChtml10. | The device capability of the JavaScript returns false. | |
true | Checks whether the PreferredRenderingType is PreferredRenderingTypeWml11 or PreferredRenderingTypeWml12. | N/A |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.