Επεξεργασία

Κοινή χρήση μέσω


MobilePage.Device Property

Definition

Gets the MobileCapabilities object for the current requesting device. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

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

Property Value

The MobileCapabilities for the current requesting device.

Attributes

Remarks

This property is provided for convenience, and is equivalent to obtaining browser information from the HttpRequest object, such as Page.Request.Browser.

Applies to

See also