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 str
in 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 String
in 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 string
in 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 String
in 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

in Handle to the StringList object.

value const char *
in The string to be inserted at the start of the list

Returns

int
An error code.
See id3DevicesError file for the list of possible error codes.