共用方式為


BluetoothDevice.BluetoothDeviceId 屬性

定義

取得藍牙裝置識別碼。

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

屬性值

藍牙裝置識別碼。

Windows 需求

裝置系列
Windows 10 Fall Creators Update (已於 10.0.16299.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v5.0 引進)
應用程式功能
bluetooth

適用於