BluetoothDevice.BluetoothDeviceId 属性

定义

获取蓝牙设备 ID。

public:
 property BluetoothDeviceId ^ BluetoothDeviceId { BluetoothDeviceId ^ get(); };
BluetoothDeviceId BluetoothDeviceId();
public BluetoothDeviceId BluetoothDeviceId { get; }
var bluetoothDeviceId = bluetoothDevice.bluetoothDeviceId;
Public ReadOnly Property BluetoothDeviceId As BluetoothDeviceId

属性值

蓝牙设备 ID。

Windows 要求

要求 说明
设备系列
Windows 10 Fall Creators Update (在 10.0.16299.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v5.0 中引入)
应用功能
bluetooth

适用于