Share via


BluetoothDevice.RfcommServices Proprietà

Definizione

Ottiene l'elenco di sola lettura dei servizi RFCOMM supportati dal dispositivo.

Importante

L'API RfcommServices è deprecata e potrebbe non essere disponibile nelle versioni future di Windows. Usare invece 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)

Valore della proprietà

Elenco di sola lettura dei servizi RFCOMM supportati dal dispositivo.

Attributi

Requisiti Windows

Funzionalità dell'app
bluetooth

Si applica a