Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EnclosureLocation class

Applies to Windows and Windows Phone

Describes the physical location of a device in its enclosure.

Syntax


public ref class EnclosureLocation sealed 

Attributes

[DualApiPartition()]
[MarshalingBehavior(Agile)]
[Version(0x06020000)]

Members

The EnclosureLocation class has these types of members:

Properties

The EnclosureLocation class has these properties.

PropertyAccess typeDescription

InDock

Read-onlyIndicates whether the device is physically located in the docking station of the portable computer.

InLid

Read-onlyIndicates whether the device is physically located in the lid of the portable computer.

Panel

Read-onlyIndicates which panel of the computer the device is physically located on.

 

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.

Requirements

Minimum supported client

Windows 8 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 [Windows Store apps, desktop apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Devices.Enumeration
Windows::Devices::Enumeration [C++]

Metadata

Windows.winmd

 

 

Show:
© 2014 Microsoft