共用方式為


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

適用於