MidiSynthesizer.IsSynthesizer(DeviceInformation) Méthode

Définition

Détermine si un appareil particulier est un instance du synthétiseur MICROSOFT MIDI. Lorsque tous les ports de sortie MIDI sur le système sont énumérés, cette méthode peut être utilisée pour identifier lequel d’entre eux est le synthétiseur MICROSOFT MIDI.

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

Paramètres

midiDevice
DeviceInformation

Objet qui représente l’appareil en question.

Retours

Boolean

bool

True si l’appareil est le synthétiseur Microsoft MIDI ; sinon, false.

S’applique à