TagCollection class

TagCollection class

Represents the collection of tags (user defined pairs of strings)

The TagCollection type exposes the following members:

Methods

MethodDescription
add(self, name, value)Adds a new tag to collection.
remove(self, name)Removes the tag with a specified name from the collection.
index_of_name(self, name)Returns the zero-based index of the specified key in the collection.
remove_at(self, index)Removes the tag at the specified index.
clear(self)Removes all tags from the collection.
get_value_by_index(self, index)Returns value of a tag at the specified index.
get_name_by_index(self, index)Returns key of a tag at the specified index.
get_names_of_tags(self)Returns names of tags.

See Also