Condividi tramite


MidiSongSelectMessage Classe

Definizione

Rappresenta un messaggio MIDI che specifica la canzone selezionata.

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
Ereditarietà
Object Platform::Object IInspectable MidiSongSelectMessage
Attributi
Implementazioni

Requisiti Windows

Famiglia di dispositivi
Windows 10 (è stato introdotto in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v1.0)

Costruttori

MidiSongSelectMessage(Byte)

Crea un nuovo oggetto MidiSongSelectMessage .

Proprietà

RawData

Ottiene la matrice di byte associati al messaggio MIDI, incluso il byte di stato.

Song

Ottiene la canzone da selezionare tra 0 e 127.

Timestamp

Ottiene la durata da quando il MidiInPort è stato creato al momento della ricezione del messaggio. Per i messaggi inviati a MidiOutPort, questo valore non ha alcun significato.

Type

Ottiene il tipo di questo messaggio MIDI.

Si applica a

Vedi anche