Freigeben über


KnownPerceptionFrameSourceProperties.DeviceId Eigenschaft

Definition

Ruft einen Zeichenfolgenwert ab, der das Gerät im System identifiziert.

public:
 static property Platform::String ^ DeviceId { Platform::String ^ get(); };
static winrt::hstring DeviceId();
/// [get: Windows.Foundation.Metadata.Deprecated("KnownPerceptionFrameSourceProperties may be unavailable after Windows Creator Update.  Please refer to Windows.Media.Capture.Frames APIs on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
static winrt::hstring DeviceId();
public static string DeviceId { get; }
public static string DeviceId { [Windows.Foundation.Metadata.Deprecated("KnownPerceptionFrameSourceProperties may be unavailable after Windows Creator Update.  Please refer to Windows.Media.Capture.Frames APIs on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")] get; }
var string = KnownPerceptionFrameSourceProperties.deviceId;
Public Shared ReadOnly Property DeviceId As String

Eigenschaftswert

String

Platform::String

winrt::hstring

Der Bezeichner.

Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v2.0)

Gilt für: