BluetoothDevice.RfcommServices Properti

Definisi

Mendapatkan daftar layanan RFCOMM baca-saja yang didukung oleh perangkat.

Penting

API RfcommServices tidak digunakan lagi, dan mungkin tidak tersedia di versi Windows yang akan datang. Sebagai gantinya, gunakan 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)

Nilai Properti

Daftar baca-saja layanan RFCOMM yang didukung oleh perangkat.

Atribut

Persyaratan Windows

Kemampuan aplikasi
bluetooth

Berlaku untuk