EnclosureLocation クラス

定義

エンクロージャ内のデバイスの物理的な場所について説明します。

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
継承
Object Platform::Object IInspectable EnclosureLocation
属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10240.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v1.0 で導入)

注釈

EnclosureLocation プロパティは、このオブジェクトを返します。

エンクロージャ内のデバイスの物理的な場所が不明な場合、 inDock プロパティと inLid プロパティは false で 、Panel プロパティの値は Unknown です

バージョン履歴

Windows のバージョン SDK バージョン 追加された値
1607 14393 RotationAngleInDegreesClockwise

プロパティ

InDock

デバイスがポータブル コンピューターのドッキング ステーションに物理的に配置されているかどうかを示します。

InLid

デバイスがポータブル コンピューターのカバーに物理的に配置されているかどうかを示します。

Panel

デバイスが物理的に配置されているコンピューターのパネルを示します。

RotationAngleInDegreesClockwise

エンクロージャ内のデバイスの物理的な回転角度を取得します。

適用対象