BluetoothDevice.ConnectionStatus 属性

定义

获取设备的连接状态。

public:
 property BluetoothConnectionStatus ConnectionStatus { BluetoothConnectionStatus get(); };
BluetoothConnectionStatus ConnectionStatus();
public BluetoothConnectionStatus ConnectionStatus { get; }
var bluetoothConnectionStatus = bluetoothDevice.connectionStatus;
Public ReadOnly Property ConnectionStatus As BluetoothConnectionStatus

属性值

BluetoothConnectionStatus 枚举值之一,该值指定设备的连接状态。

Windows 要求

应用功能
bluetooth

适用于