Поделиться через


BluetoothDeviceId.FromId(String) Метод

Определение

Создает объект BluetoothDeviceId на основе идентификатора устройства.

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

Параметры

deviceId
String

Platform::String

winrt::hstring

идентификатор устройства;

Возвращаемое значение

Требования к Windows

Семейство устройств
Windows 10 Fall Creators Update (появилось в 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (появилось в v5.0)
Возможности приложения
bluetooth

Применяется к