KnownPerceptionFrameSourceProperties.EnclosureLocation 属性

定义

获取用于查找枚举属性的字符串键,该属性指示传感器在 Windows 设备上的物理位置。

public:
 static property Platform::String ^ EnclosureLocation { Platform::String ^ get(); };
static winrt::hstring EnclosureLocation();
/// [get: Windows.Foundation.Metadata.Deprecated("KnownPerceptionFrameSourceProperties may be unavailable after Windows Creator Update.  Use Windows.Devices.Enumeration.DeviceInformation instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
static winrt::hstring EnclosureLocation();
public static string EnclosureLocation { get; }
public static string EnclosureLocation { [Windows.Foundation.Metadata.Deprecated("KnownPerceptionFrameSourceProperties may be unavailable after Windows Creator Update.  Use Windows.Devices.Enumeration.DeviceInformation instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")] get; }
var string = KnownPerceptionFrameSourceProperties.enclosureLocation;
Public Shared ReadOnly Property EnclosureLocation As String

属性值

String

Platform::String

winrt::hstring

传感器在 Windows 设备上的物理位置。 这是一个枚举值。

属性

适用于