DeviceAccessInformation.CreateFromId(String) DeviceAccessInformation.CreateFromId(String) DeviceAccessInformation.CreateFromId(String) DeviceAccessInformation.CreateFromId(String) DeviceAccessInformation.CreateFromId(String) Method

Definition

Initializes a DeviceAccessInformation object based on a device id.

public : static DeviceAccessInformation CreateFromId(Platform::String deviceId)
static DeviceAccessInformation CreateFromId(winrt::hstring deviceId) const;
public static DeviceAccessInformation CreateFromId(String deviceId)
Public Shared Function CreateFromId(deviceId As String) As DeviceAccessInformation
var deviceAccessInformation = Windows.Devices.Enumeration.DeviceAccessInformation.createFromId(deviceId);

Parameters

deviceId
String String String

Id of the device to get DeviceAccessInformation about.

Returns