KnownPerceptionFrameSourceProperties.DeviceModelVersion 属性

定义

获取一个字符串键,该字符串键用于查找此帧源所表示的物理传感器设备的设备、型号、版本字符串的字符串属性。

public:
 static property Platform::String ^ DeviceModelVersion { Platform::String ^ get(); };
static winrt::hstring DeviceModelVersion();
/// [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 DeviceModelVersion();
public static string DeviceModelVersion { get; }
public static string DeviceModelVersion { [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.deviceModelVersion;
Public Shared ReadOnly Property DeviceModelVersion As String

属性值

String

Platform::String

winrt::hstring

此帧源表示的物理传感器设备的 device、model、版本字符串。 此属性是一个 String 值。

属性

适用于