共用方式為


RfcommInboundConnectionInformation.ServiceCapabilities 屬性

定義

取得或設定將公告的服務功能。

public:
 property BluetoothServiceCapabilities ServiceCapabilities { BluetoothServiceCapabilities get(); void set(BluetoothServiceCapabilities value); };
BluetoothServiceCapabilities ServiceCapabilities();

void ServiceCapabilities(BluetoothServiceCapabilities value);
public BluetoothServiceCapabilities ServiceCapabilities { get; set; }
var bluetoothServiceCapabilities = rfcommInboundConnectionInformation.serviceCapabilities;
rfcommInboundConnectionInformation.serviceCapabilities = bluetoothServiceCapabilities;
Public Property ServiceCapabilities As BluetoothServiceCapabilities

屬性值

其中一個 BluetoothServiceCapabilities 列舉值,指定要公告的服務功能。

Windows 需求

應用程式功能
bluetooth

適用於