Freigeben über


MidiSynthesizer.IsSynthesizer(DeviceInformation) Methode

Definition

Bestimmt, ob ein bestimmtes Gerät ein instance des Microsoft MIDI-Synthesizers ist. Wenn alle MIDI-Out-Ports auf dem System aufgelistet sind, kann diese Methode verwendet werden, um zu identifizieren, welcher von ihnen der Microsoft MIDI-Synthesizer ist.

public:
 static bool IsSynthesizer(DeviceInformation ^ midiDevice);
 static bool IsSynthesizer(DeviceInformation const& midiDevice);
public static bool IsSynthesizer(DeviceInformation midiDevice);
function isSynthesizer(midiDevice)
Public Shared Function IsSynthesizer (midiDevice As DeviceInformation) As Boolean

Parameter

midiDevice
DeviceInformation

Ein -Objekt, das das betreffende Gerät darstellt.

Gibt zurück

Boolean

bool

True , wenn das Gerät der Microsoft MIDI-Synthesizer ist; Andernfalls false.

Gilt für: