BluetoothDeviceId.FromId(String) 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.
Creates a BluetoothDeviceId object from the device ID.
public:
static BluetoothDeviceId ^ FromId(Platform::String ^ deviceId);
static BluetoothDeviceId FromId(winrt::hstring const& deviceId);
public static BluetoothDeviceId FromId(string deviceId);
function fromId(deviceId)
Public Shared Function FromId (deviceId As String) As BluetoothDeviceId
Parameters
- deviceId
-
String
Platform::String
winrt::hstring
The device ID.
Returns
Windows requirements
Device family |
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v5.0)
|
App capabilities |
bluetooth
|