MIDI.TrackTagsEnum method |
|
Remarks
Enumerates meta tag strings available inside a given MIDI track of the loaded MIDI stream. Each enumerated tag string can be obtained at a later time using the MIDI.TrackTagsItemGet method. Each enumeration stays available in memory until a new enumeration is performed.
For further details about the use of MIDI protocol see the MIDIMan class section and the How to deal with MIDI protocol tutorial.
Syntax
[Visual Basic] Public Function TrackTagsEnum ( nPlayerIndex as Int16, nTrack as Int16, ByRef nTracks as Int16 ) as enumErrorCodes |
[C#] public enumErrorCodes TrackTagsEnum ( Int16 nPlayerIndex, Int16 nTrack, ref Int16 nCount ); |
[C++] public: enumErrorCodes TrackTagsEnum ( Int16 nPlayerIndex, Int16 nTrack, Int16 __gc *nCount ); |
Parameter |
Description |
|
|
nPlayerIndex |
Number representing the zero-based index of the involved player. |
nTrack |
Number representing the zero-based index of the MIDI track. The total number of available MIDI tracks can be obtained through the MIDI:TrackCountGet method. |
nCount |
Reference that, on return from the method call, will contain the number of meta tag strings inside the given track of the loaded MIDI stream. |
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred (see the LastError property for further error details) |
enumErrorCodes.NOERROR (0) |
The method call was successful. |