add method

add(self, name, value)

Adds a new tag to collection.

Returns

The index of the added tag.

def add(self, name, value):
    ...
ParameterTypeDescription
namestrThe name of the tag.
valuestrThe value of the tag.

See Also