ITagCollection

ITagCollection interface

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

public interface ITagCollection : IGenericCollection<KeyValuePair<string, string>>

Properties

NameDescription
Item { get; set; }Returns or sets a key and a value pair of a tag.

Methods

NameDescription
Add(string, string)Adds a new tag to collection.
Clear()Removes all tags from the collection.
Contains(string)Determines whether the collection contains a specific name.
GetNameByIndex(int)Returns key of a tag at the specified index.
GetNamesOfTags()Returns names of tags.
GetValueByIndex(int)Returns value of a tag at the specified index.
IndexOfName(string)Returns the zero-based index of the specified key in the collection.
Remove(string)Removes the tag with a specified name from the collection.
RemoveAt(int)Removes the tag at the specified index.

See Also