MidiOutPort.GetDeviceSelector | getDeviceSelector method
[This documentation is preliminary and is subject to change.]
Gets a query string that can be used to enumerate all MidiOutPort objects on the system.
Important
The WindowsPreview.Devices.Midi API are preview API and are not included in the Windows Software Development Kit (SDK). The API are distributed as a NuGet package. See WindowsPreview.Devices.Midi for info on how to download and install the NuGet package in your project.
WindowsPreview.Devices.Midi API require Windows 8.1 Update and later.
Syntax
var string = WindowsPreview.Devices.Midi.MidiOutPort.getDeviceSelector();
public static string GetDeviceSelector()
Public Shared Function GetDeviceSelector() As String
public:
static String^ GetDeviceSelector()
Parameters
This method has no parameters.
Return value
Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]
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.
Requirements
Minimum supported client |
Windows 8.1 |
Minimum supported server |
Windows Server 2012 R2 |
Namespace |
WindowsPreview.Devices.Midi WindowsPreview::Devices::Midi [C++] |
Metadata |
WindowsPreview.winmd |