BluetoothLEDevice.ConnectionStatus 属性

定义

获取设备的连接状态。

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

属性值

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

Windows 要求

应用功能
bluetooth

适用于