Class HashSetDictionary<TKey, TValue>.KeyCollection
Represents the collection of keys in a HashSetDictionary<TKey, TValue>.
Namespace: Singulink.Collections
Assembly: Singulink.Collections.dll
Syntax
public sealed class HashSetDictionary<TKey, TValue>.KeyCollection : ICollection<TKey>, IReadOnlyCollection<TKey>, IEnumerable<TKey>, IEnumerable
Properties
| Name | Description |
|---|---|
| Count | Gets the number of keys in this collection. |
Methods
| Name | Description |
|---|---|
| Contains(TKey) | Returns a value indicating whether the dictionary contains the specified key. |
| CopyTo(TKey[], int) | Copies all the keys in the dictionary to an array starting at the specified array index. |
| GetEnumerator() | Returns an enumerator that iterates through the keys in this collection. |
Explicit Interface Implementations
| Name | Description |
|---|---|
| ICollection<TKey>.Add(TKey) | Not supported. |
| ICollection<TKey>.Clear() | Not supported. |
| ICollection<TKey>.IsReadOnly | Gets a value indicating whether this collection is read-only. Always returns true. |
| ICollection<TKey>.Remove(TKey) | Not supported. |
| IEnumerable<TKey>.GetEnumerator() | Returns an enumerator that iterates through the keys in this collection. |
| IEnumerable.GetEnumerator() | Returns an enumerator that iterates through the keys in this collection. |