Compartir a través de


BluetoothDevice.RfcommServices Propiedad

Definición

Obtiene la lista de solo lectura de los servicios RFCOMM admitidos por el dispositivo.

Importante

La API rfcommServices está en desuso y es posible que no esté disponible en versiones futuras de Windows. En su lugar, 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)

Valor de propiedad

Lista de solo lectura de los servicios RFCOMM admitidos por el dispositivo.

Atributos

Requisitos de Windows

Características de aplicaciones
bluetooth

Se aplica a