MidiDjConsole.ProfileItemCountGet method |
|
Remarks
Enumerates items contained inside the profile of the DJ Console. After completing the enumeration, the name of each item can be retrieved through the MidiDjConsole.ProfileItemNameGet method.
For further details about interfacing with MIDI DJ Consoles see the MidiDjConsole object section and the How to manage MIDI DJ consoles tutorial.
Syntax
[Visual Basic] MidiDjConsole.ProfileItemCountGet ( ByRef nCount as Int32 ) as enumDjcErrorCodes |
[C#] public enumDjcErrorCodes MidiDjConsole.ProfileItemCountGet ( ref Int32 nCount ); |
[C++] public: enumDjcErrorCodes MidiDjConsole.ProfileItemCountGet ( Int32 __gc *nCount ); |
Parameter |
Description |
|
|
nCount |
Reference that, on return from the method call, will contain the number of available items. Items belonging to a specific type (like buttons, leds, etc.) can be enumerated using the MidiDjConsole.ProfileTypedItemCountGet method. |
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred. Check the LastError property value in order to see the last error. |
enumDjcErrorCodes.ERR_DJC_NOERROR (0) |
The method call was successful. |