共用方式為


RfcommDeviceService.Device 屬性

定義

取得 BluetoothDevice 物件,描述與目前 RfcommDeviceService 物件相關聯的裝置。

public:
 property BluetoothDevice ^ Device { BluetoothDevice ^ get(); };
BluetoothDevice Device();
public BluetoothDevice Device { get; }
var bluetoothDevice = rfcommDeviceService.device;
Public ReadOnly Property Device As BluetoothDevice

屬性值

BluetoothDevice物件,描述與目前RfcommDeviceService物件相關聯的裝置。

Windows 需求

應用程式功能
bluetooth

適用於