Describes the physical location of a device in its enclosure.
public : sealed class EnclosureLocation
public sealed class EnclosureLocation
Public NotInheritable Class EnclosureLocation
// This class does not provide a public constructor.
Windows 10 requirements
Windows 10 (introduced v10.0.10240.0)
Windows.Foundation.UniversalApiContract (introduced v1)
The EnclosureLocation property returns this object.
|Windows version||SDK version||Value added|
|InDock InDock InDock InDock InDock||
Indicates whether the device is physically located in the docking station of the portable computer.
|InLid InLid InLid InLid InLid||
Indicates whether the device is physically located in the lid of the portable computer.
|Panel Panel Panel Panel Panel||
Indicates which panel of the computer the device is physically located on.
|RotationAngleInDegreesClockwise RotationAngleInDegreesClockwise RotationAngleInDegreesClockwise RotationAngleInDegreesClockwise RotationAngleInDegreesClockwise||
Gets the physical degree of rotation for a device in its enclosure.