MobilePage.Device Property
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.
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
.