共用方式為


BluetoothDevice.FromBluetoothAddressAsync(UInt64) 方法

定義

會傳回指定藍牙AddressBluetoothDevice物件。

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

適用於