public interface ITagCollection extends IGenericCollection<com.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.String,java.lang.String>>
Modifier and Type | Method and Description |
---|---|
int |
add(java.lang.String name,
java.lang.String value)
Adds a new tag to collection.
|
void |
clear()
Removes all tags from the collection.
|
boolean |
contains(java.lang.String name)
Determines whether the collection contains a specific name.
|
java.lang.String |
get_Item(java.lang.String name)
Returns or sets a key and a value pair of a tag.
|
java.lang.String |
getNameByIndex(int index)
Returns key of a tag at the specified index.
|
java.lang.String[] |
getNamesOfTags()
Returns names of tags.
|
java.lang.String |
getValueByIndex(int index)
Returns value of a tag at the specified index.
|
int |
indexOfName(java.lang.String name)
Returns the zero-based index of the specified key in the collection.
|
void |
remove(java.lang.String name)
Removes the tag with a specified name from the collection.
|
void |
removeAt(int index)
Removes the tag at the specified index.
|
void |
set_Item(java.lang.String name,
java.lang.String value)
Returns or sets a key and a value pair of a tag.
|
iterator
int add(java.lang.String name, java.lang.String value)
Adds a new tag to collection.
name
- The name of the tag.value
- The value of the tag.void remove(java.lang.String name)
Removes the tag with a specified name from the collection.
name
- The name of tag to remove.int indexOfName(java.lang.String name)
Returns the zero-based index of the specified key in the collection.
name
- The name to locate in the collection.boolean contains(java.lang.String name)
Determines whether the collection contains a specific name.
name
- The key to locate.void removeAt(int index)
Removes the tag at the specified index.
index
- The zero-based index of the tag to remove.void clear()
Removes all tags from the collection.
java.lang.String getValueByIndex(int index)
Returns value of a tag at the specified index.
index
- Index of a tag to return.java.lang.String getNameByIndex(int index)
Returns key of a tag at the specified index.
index
- Index of a tag to return.java.lang.String[] getNamesOfTags()
Returns names of tags.
java.lang.String get_Item(java.lang.String name)
Returns or sets a key and a value pair of a tag.
name
- Key of a tag.void set_Item(java.lang.String name, java.lang.String value)
Returns or sets a key and a value pair of a tag.
name
- Key of a tag.