MidiSongSelectMessage Klasse

Definition

Stellt eine MIDI-Nachricht dar, die den ausgewählten Song angibt.

public ref class MidiSongSelectMessage sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Midi.IMidiSongSelectMessageFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MidiSongSelectMessage final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Midi.IMidiSongSelectMessageFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class MidiSongSelectMessage final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Midi.IMidiSongSelectMessageFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class MidiSongSelectMessage
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Midi.IMidiSongSelectMessageFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class MidiSongSelectMessage
function MidiSongSelectMessage(song)
Public NotInheritable Class MidiSongSelectMessage
Vererbung
Object Platform::Object IInspectable MidiSongSelectMessage
Attribute
Implementiert

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)

Konstruktoren

MidiSongSelectMessage(Byte)

Erstellt ein neues MidiSongSelectMessage-Objekt .

Eigenschaften

RawData

Ruft das Array von Bytes ab, die der MIDI-Nachricht zugeordnet sind, einschließlich status Byte.

Song

Ruft den Song ab, der zwischen 0 und 127 ausgewählt werden soll.

Timestamp

Ruft die Dauer von der Erstellung des MidiInPort bis zum Zeitpunkt des Empfangens der Nachricht ab. Für Nachrichten, die an einen MidiOutPort gesendet werden, hat dieser Wert keine Bedeutung.

Type

Ruft den Typ dieser MIDI-Nachricht ab.

Gilt für:

Weitere Informationen