Share via


MidiInPort.GetDeviceSelector Method

Definition

Gets a query string that can be used to enumerate all MidiInPort objects on the system.

public:
 static Platform::String ^ GetDeviceSelector();
 static winrt::hstring GetDeviceSelector();
public static string GetDeviceSelector();
function getDeviceSelector()
Public Shared Function GetDeviceSelector () As String

Returns

String

Platform::String

winrt::hstring

The query string used to enumerate the MidiInPort objects on the system.

Remarks

To enumerate the MidiInPort objects on the system, pass the query string provided by this method to Windows.Devices.Enumeration.DeviceInformation.FindAllAsync.

Applies to