XhtmlPageAdapter.DeviceQualifies(HttpContext) Metod

Definition

Anger om enhetskortuppsättningen gäller för den angivna begäran. Det här API:et är föråldrat. Information om hur du utvecklar ASP.NET mobila program finns i Mobile Apps & Webbplatser med 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

Parametrar

context
HttpContext

Objektet HttpContext för den aktuella begäran.

Returer

true PreferredRenderingType om för webbläsaren är en av dessa medlemmar i Doctype objektet: XhtmlBasic, XhtmlMobileProfile, eller Wml20; annars . false

Gäller för

Se även