Dela via


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 const& deviceId);
public static DeviceAccessInformation CreateFromId(string deviceId);
function createFromId(deviceId)
Public Shared Function CreateFromId (deviceId As String) As DeviceAccessInformation

Parameters

deviceId
String

Platform::String

winrt::hstring

Id of the device to get DeviceAccessInformation about.

Returns

The DeviceAccessInformation object for the given device id.

Applies to