Share via


BluetoothDeviceId.Id 属性

定义

获取蓝牙设备 ID。

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

属性值

String

Platform::String

winrt::hstring

获取蓝牙设备 ID。

Windows 要求

应用功能
bluetooth

适用于