 | InstrumentTypeExtensionsIsDrum Method |
Is this
InstrumentType a drum instrument? Drum instruments are played on their own channel.
Namespace: MidiGremlinAssembly: MidiGremlin (in MidiGremlin.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static bool IsDrum(
this InstrumentType instrumentType
)
<ExtensionAttribute>
Public Shared Function IsDrum (
instrumentType As InstrumentType
) As Boolean
public:
[ExtensionAttribute]
static bool IsDrum(
InstrumentType instrumentType
)
[<ExtensionAttribute>]
static member IsDrum :
instrumentType : InstrumentType -> bool
Parameters
- instrumentType
- Type: MidiGremlinInstrumentType
[Missing <param name="instrumentType"/> documentation for "M:MidiGremlin.InstrumentTypeExtensions.IsDrum(MidiGremlin.InstrumentType)"]
Return Value
Type:
BooleanWhether 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