BluetoothDevice.RfcommServices Property

Definition

Gets the read-only list of RFCOMM services supported by the device.

Important

The RfcommServices API is deprecated, and it may not be available in future versions of Windows. Instead, use 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)

Property Value

The read-only list of RFCOMM services supported by the device.

Attributes

Windows requirements

App capabilities
bluetooth

Applies to