Share via


EnclosureLocation Class

Definition

Describes the physical location of a device in its enclosure.

public ref class EnclosureLocation sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class EnclosureLocation final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class EnclosureLocation
Public NotInheritable Class EnclosureLocation
Inheritance
Object Platform::Object IInspectable EnclosureLocation
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

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.

Version history

Windows version SDK version Value added
1607 14393 RotationAngleInDegreesClockwise

Properties

InDock

Indicates whether the device is physically located in the docking station of the portable computer.

InLid

Indicates whether the device is physically located in the lid of the portable computer.

Panel

Indicates which panel of the computer the device is physically located on.

RotationAngleInDegreesClockwise

Gets the physical degree of rotation for a device in its enclosure.

Applies to