MidiOutPort.GetDeviceSelector Method

Definition

Gets a query string that can be used to enumerate all MidiOutPort 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

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

Remarks

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

Applies to