Environment.DeviceType Property
Namespace: Microsoft.Devices
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Syntax
'Declaration
Public Shared ReadOnly Property DeviceType As DeviceType
public static DeviceType DeviceType { get; }
public:
static property DeviceType DeviceType {
DeviceType get ();
}
static member DeviceType : DeviceType with get
Property Value
Type: Microsoft.Devices.DeviceType
Version Information
.NET for Windows Phone apps
Supported in: Windows Phone 8, Silverlight 8.1
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.