Sprache

BluetoothDevice.RfcommServices Eigenschaft

Definition

Ruft die schreibgeschützte Liste der RFCOMM-Dienste ab, die vom Gerät unterstützt werden.

Important

Die RfcommServices-API ist veraltet und ist möglicherweise in zukünftigen Versionen von Windows nicht verfügbar. Verwenden Sie stattdessen GetRfcommServicesAsync.

public:
 property IVectorView<RfcommDeviceService ^> ^ RfcommServices { IVectorView<RfcommDeviceService ^> ^ get(); };
IVectorView<RfcommDeviceService> RfcommServices();
/// [get: Windows.Foundation.Metadata.Deprecated("Use GetRfcommServicesAsync instead of RfcommServices.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
IVectorView<RfcommDeviceService> RfcommServices();
public IReadOnlyList<RfcommDeviceService> RfcommServices { get; }
public IReadOnlyList<RfcommDeviceService> RfcommServices { [Windows.Foundation.Metadata.Deprecated("Use GetRfcommServicesAsync instead of RfcommServices.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")] get; }
var iVectorView = bluetoothDevice.rfcommServices;
Public ReadOnly Property RfcommServices As IReadOnlyList(Of RfcommDeviceService)

Eigenschaftswert

Die schreibgeschützte Liste der vom Gerät unterstützten RFCOMM-Dienste.

Attribute

Windows-Anforderungen

Anforderungen Beschreibung
App-Funktionen
bluetooth

Gilt für: