BluetoothDevice.FromHostNameAsync(HostName) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for