DeviceAccessInformation.CreateFromId(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.
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.