Dela via


DeviceAccessChangedEventArgs.Id Property

Definition

Gets the DeviceInformation ID of the device referenced by DeviceAccessChangedEventArgs.

public:
 property Platform::String ^ Id { Platform::String ^ get(); };
winrt::hstring Id();
public string Id { get; }
var string = deviceAccessChangedEventArgs.id;
Public ReadOnly Property Id As String

Property Value

String

Platform::String

winrt::hstring

The DeviceInformation ID for the device.

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Applies to