BluetoothDevice.FromHostNameAsync(HostName) Method

Definition

Returns a BluetoothDevice object identified by the given HostName.

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)

Parameters

hostName
HostName

The HostName that identifies the BluetoothDevice instance.

Returns

After the asynchronous operation completes, returns the BluetoothDevice object identified by the given HostName.

Attributes

Windows requirements

App capabilities
bluetooth

Applies to