Click or drag to resize
InstrumentTypeExtensionsIsDrum Method
Is this InstrumentType a drum instrument? Drum instruments are played on their own channel.

Namespace: MidiGremlin
Assembly: MidiGremlin (in MidiGremlin.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static bool IsDrum(
	this InstrumentType instrumentType
)

Parameters

instrumentType
Type: MidiGremlinInstrumentType

[Missing <param name="instrumentType"/> documentation for "M:MidiGremlin.InstrumentTypeExtensions.IsDrum(MidiGremlin.InstrumentType)"]

Return Value

Type: Boolean
Whether this InstrumentType is a drum.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type InstrumentType. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also