BluetoothDevice.FromHostNameAsync(HostName) Metode

Definisi

Mengembalikan objek BluetoothDevice yang diidentifikasi oleh HostName yang diberikan.

public:
 static IAsyncOperation<BluetoothDevice ^> ^ FromHostNameAsync(HostName ^ hostName);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<BluetoothDevice> FromHostNameAsync(HostName const& hostName);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<BluetoothDevice> FromHostNameAsync(HostName hostName);
function fromHostNameAsync(hostName)
Public Shared Function FromHostNameAsync (hostName As HostName) As IAsyncOperation(Of BluetoothDevice)

Parameter

hostName
HostName

HostName yang mengidentifikasi instans BluetoothDevice.

Mengembalikan

Setelah operasi asinkron selesai, mengembalikan objek BluetoothDevice yang diidentifikasi oleh HostName yang diberikan.

Atribut

Persyaratan Windows

Kemampuan aplikasi
bluetooth

Berlaku untuk