Share via


MobilePage.Device プロパティ

定義

現在要求を発行しているデバイスに対応する MobileCapabilities オブジェクトを取得します。 この API は、互換性のために残されています。 ASP.NET モバイル アプリケーションを開発する方法については、「ASP.NET を使用した Mobile Apps & サイト」を参照してください。

public:
 virtual property System::Web::Mobile::MobileCapabilities ^ Device { System::Web::Mobile::MobileCapabilities ^ get(); };
[System.ComponentModel.Bindable(false)]
[System.ComponentModel.Browsable(false)]
public virtual System.Web.Mobile.MobileCapabilities Device { get; }
[<System.ComponentModel.Bindable(false)>]
[<System.ComponentModel.Browsable(false)>]
member this.Device : System.Web.Mobile.MobileCapabilities
Public Overridable ReadOnly Property Device As MobileCapabilities

プロパティ値

現在要求を発行しているデバイスに対応する MobileCapabilities

属性

注釈

このプロパティは便宜上提供され、 などのPage.Request.Browserオブジェクトからブラウザー情報をHttpRequest取得することと同じです。

適用対象

こちらもご覧ください