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

属性值

描述与当前 RfcommDeviceService 对象关联的设备的 BluetoothDevice 对象。

Windows 要求

应用功能
bluetooth

适用于