BluetoothDevice.FromBluetoothAddressAsync(UInt64) 方法

定义

返回给定 BluetoothAddressBluetoothDevice 对象。

public:
 static IAsyncOperation<BluetoothDevice ^> ^ FromBluetoothAddressAsync(unsigned long long address);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<BluetoothDevice> FromBluetoothAddressAsync(uint64_t const& address);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<BluetoothDevice> FromBluetoothAddressAsync(ulong address);
function fromBluetoothAddressAsync(address)
Public Shared Function FromBluetoothAddressAsync (address As ULong) As IAsyncOperation(Of BluetoothDevice)

参数

address
UInt64

unsigned long long

uint64_t

蓝牙设备的地址。

返回

异步操作完成后,返回具有给定 BluetoothAddressBluetoothDevice 对象,如果地址未解析为有效设备,则返回 null。

属性

Windows 要求

应用功能
bluetooth

适用于