EnclosureLocation EnclosureLocation EnclosureLocation EnclosureLocation EnclosureLocation Class

Definition

Describes the physical location of a device in its enclosure.

public : sealed class EnclosureLocation : IEnclosureLocation, IEnclosureLocation2
struct winrt::Windows::Devices::Enumeration::EnclosureLocation : IEnclosureLocation, IEnclosureLocation2
public sealed class EnclosureLocation : IEnclosureLocation, IEnclosureLocation2
Public NotInheritable Class EnclosureLocation Implements IEnclosureLocation, IEnclosureLocation2
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
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 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.