Lingua

BluetoothDevice.FromIdAsync(String) Metodo

Definizione

Restituisce un oggetto BluetoothDevice identificato dall'id dispositivo specificato.

public:
 static IAsyncOperation<BluetoothDevice ^> ^ FromIdAsync(Platform::String ^ deviceId);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<BluetoothDevice> FromIdAsync(winrt::hstring const& deviceId);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<BluetoothDevice> FromIdAsync(string deviceId);
function fromIdAsync(deviceId)
Public Shared Function FromIdAsync (deviceId As String) As IAsyncOperation(Of BluetoothDevice)

Parametri

deviceId
String

Platform::String

winrt::hstring

Valore DeviceId che identifica l'istanza BluetoothDevice.

Valori restituiti

Al termine dell'operazione asincrona, restituisce l'oggetto BluetoothDevice identificato dall'id dispositivo specificato.

Attributi

Requisiti Windows

Requisiti Descrizione
Funzionalità dell'app
bluetooth

Commenti

Questo metodo deve essere chiamato da un thread dell'interfaccia utente.

Si applica a