KnownPerceptionFrameSourceProperties.Id 属性

定义

获取一个字符串键,用于查找具有帧源的唯一 ID 的字符串属性。

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

属性值

String

Platform::String

winrt::hstring

帧源的唯一 ID。 此属性是一个 String 值。

属性

适用于