Udostępnij za pośrednictwem


DeviceAccessInformation.CreateFromDeviceClassId(Guid) Method

Definition

Initializes a DeviceAccessInformation object based on a device class id.

public:
 static DeviceAccessInformation ^ CreateFromDeviceClassId(Platform::Guid deviceClassId);
 static DeviceAccessInformation CreateFromDeviceClassId(winrt::guid const& deviceClassId);
public static DeviceAccessInformation CreateFromDeviceClassId(Guid deviceClassId);
function createFromDeviceClassId(deviceClassId)
Public Shared Function CreateFromDeviceClassId (deviceClassId As Guid) As DeviceAccessInformation

Parameters

deviceClassId
Guid

Platform::Guid

winrt::guid

Id of the device class to get DeviceAccessInformation about.

Returns

The DeviceAccessInformation object for the given device class id.

Applies to