Share via


CustomDevice.GetDeviceSelector(Guid) Method

Definition

Gets a device selector.

public:
 static Platform::String ^ GetDeviceSelector(Platform::Guid classGuid);
 static winrt::hstring GetDeviceSelector(winrt::guid const& classGuid);
public static string GetDeviceSelector(Guid classGuid);
function getDeviceSelector(classGuid)
Public Shared Function GetDeviceSelector (classGuid As Guid) As String

Parameters

classGuid
Guid

Platform::Guid

winrt::guid

The Device Interface Class GUID of the device interface to create a device selector for.

Returns

String

Platform::String

winrt::hstring

The device selector.

Remarks

For more info about the Device Interface Class GUID, see Overview of Device Interface Classes.

Applies to

See also