StringList.addFirst Method¶
Module: StringList
Definition¶
Inserts a new string at the beginning of the list, shifting existing elements one position towards the end.
This method is particularly useful for cases where the order of elements is significant, and new entries must be prioritized.
add_first(self, value: str) -> None
Parameters
value
strin The string to be inserted at the start of the list
Exceptions
An error has occurred during Devices Library execution.
void addFirst(String? value)
Parameters
value
Stringin The string to be inserted at the start of the list
Exceptions
An error has occurred during Devices Library execution.
public void AddFirst(string value)
Parameters
value
stringin The string to be inserted at the start of the list
Exceptions
An error has occurred during Devices Library execution.
public void addFirst(String value) throws DevicesException
Parameters
value
Stringin The string to be inserted at the start of the list
Exceptions
An error has occurred during Devices Library execution.
int id3DevicesStringList_AddFirst (
ID3_DEVICES_STRING_LIST hStringList,
const char * value)
Parameters
hStringList
ID3_DEVICES_STRING_LISTin Handle to the StringList object.value
const char *in The string to be inserted at the start of the list
Returns