EnclosureLocation
EnclosureLocation
EnclosureLocation
EnclosureLocation
Class
Definition
Describes the physical location of a device in its enclosure.
public : sealed class EnclosureLocation : IEnclosureLocation, IEnclosureLocation2public sealed class EnclosureLocation : IEnclosureLocation, IEnclosureLocation2Public NotInheritable Class EnclosureLocation Implements IEnclosureLocation, IEnclosureLocation2// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
The EnclosureLocation property returns this object.
If the physical location of a device within its enclosure is unknown, the inDock and inLid properties are false and the Panel property has the value Unknown.
Properties
InDock InDock InDock InDock
Indicates whether the device is physically located in the docking station of the portable computer.
public : PlatForm::Boolean InDock { get; }public bool InDock { get; }Public ReadOnly Property InDock As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
A value that is True if the device is physically located in the docking station, and False if it is not.
InLid InLid InLid InLid
Indicates whether the device is physically located in the lid of the portable computer.
public : PlatForm::Boolean InLid { get; }public bool InLid { get; }Public ReadOnly Property InLid As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
A value that is True if the device is physically located in the lid, and False if it is not.
Panel Panel Panel Panel
Indicates which panel of the computer the device is physically located on.
public : Panel Panel { get; }public Panel Panel { get; }Public ReadOnly Property Panel As Panel// You can use this property in JavaScript.
RotationAngleInDegreesClockwise RotationAngleInDegreesClockwise RotationAngleInDegreesClockwise RotationAngleInDegreesClockwise
Gets the physical degree of rotation for a device in its enclosure.
public : unsigned int RotationAngleInDegreesClockwise { get; }public uint RotationAngleInDegreesClockwise { get; }Public ReadOnly Property RotationAngleInDegreesClockwise As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
The degrees of rotation for the device in its enclosure. This is in a clockwise direction.
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v3)
|