MidiDjConsole.ProfileItemModify method |
|
Remarks
Modifies an existing item contained inside the profile of the DJ Console.
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] control.MidiDjConsole.ProfileItemModify ( strItemName as String, nItemType as enumDjConsoleItemType, strItemDescr as String, strItemTag as String ) as enumDjcErrorCodes |
[C++] short control.MidiDjConsole.ProfileItemModify ( BSTR strItemName, short nItemType, BSTR strItemDescr, BSTR strItemTag ); |
Parameter |
Description |
||||||||||||||||||
|
|
||||||||||||||||||
strItemName |
String containing the name of the item to modify. If no item with this specific name should be available inside the profile, the method would fail and would return an error code. The item's name is UNICODE compliant so can support languages using the double-byte convention. |
||||||||||||||||||
nItemType |
Specifies the type of the item. Supported values are the following:
|
||||||||||||||||||
strItemDescr |
String containing the friendly description of the item. |
||||||||||||||||||
strItemTag |
String containing the tag string of the item. You can use this string to assign a custom behaviour to the item of the profile without affecting any of its other settings or causing side effects. |
Return value
Value |
Meaning |
|
|
enumDjcErrorCodes.ERR_DJC_NOERROR (0) |
The call was successful. |
Negative value |
An error occurred: see the LastError property for further error details or for a list of the possible error values. |