語言

XhtmlPageAdapter.DeviceQualifies(HttpContext) 方法

定義

表示裝置介面卡集是否適用於指定的請求。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &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

參數

context
HttpContext

HttpContext目前請求的物件。

傳回

true 若瀏覽器的 是 PreferredRenderingType 物件的其中一個成員 Doctype : XhtmlBasic, , XhtmlMobileProfile, 或 Wml20;否則, false。

適用於

另請參閱