TagList.getStringIndex

Gets the value that is at the given index for the given tag in the given list.

The resulting string in value will be in UTF-8 encoding and should be freed by the caller using g_free when no longer needed. The returned string is also guaranteed to be non-NULL and non-empty.

Free-function: g_free

class TagList
bool
getStringIndex
(
string tag
,
uint index
,
out string value
)

Parameters

tag string

tag to read out

index uint

number of entry to read out

value string

location for the result

Return Value

Type: bool

TRUE, if a value was copied, FALSE if the tag didn't exist in the given list.