[]
Represents a collection of tags.
public class TagCollection : IList, ICollection, IEnumerable, INotifyCollectionChanged
| Name | Description |
|---|---|
| Count | Gets the number of items contained in the TagCollection instance. |
| IsFixedSize | Gets a value indicating whether the TagCollection instance is fixed size. |
| IsReadOnly | Gets a value indicating whether the TagCollection instance is read-only. |
| IsSynchronized | Gets a value indicating whether the TagCollection instance is synchronized. |
| this[int] | Gets or sets the object at the specified index. |
| SyncRoot | Gets the synchronize root. |
| Name | Description |
|---|---|
| Add(object) | Adds an item to the TagCollection. |
| AddRange(IEnumerable<object>) | Adds the items of the specified collection to the end of the TagCollection. |
| AddRange(IEnumerable) | Adds the items of the specified collection to the end of the TagCollection. |
| Clear() | Removes all items from the TagCollection. |
| Contains(object) | Determines whether an item is in the TagCollection. |
| CopyTo(Array, int) | Copies the entire TagCollection to a compatible one-dimensional array, starting at the specified index of the target array. |
| GetEnumerator() | Returns an enumerator that iterates through the TagCollection. |
| IndexOf(object) | Searches for the specified item and returns the zero-based index. |
| Insert(int, object) | Inserts item into the TagCollection at the specified index. |
| OnCollectionChanged(NotifyCollectionChangedEventArgs) | Raise CollectionChanged event to any listeners. Properties/methods modifying this TagCollection will raise a collection changed event through this virtual method. |
| Remove(object) | Removes the first occurrence of a specified item from the collection. |
| RemoveAt(int) | Removes the item at the specified index of the collection. |
| Name | Description |
|---|---|
| CollectionChanged | Occurs when the TagCollection changes, either by adding or removing an item. |