XhtmlPageAdapter.DeviceQualifies(HttpContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru