Class SortedDictionary<TKey, TValue>.KeyCollection
Represents a key collection.
Inheritance
System.Object
SortedDictionary<TKey, TValue>.KeyCollection
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public sealed class KeyCollection : ICollection<TKey>, IEnumerable<TKey>, ICollection, IEnumerable
Constructors
KeyCollection(SortedDictionary<TKey, TValue>)
Creates a new key collection.
Declaration
public KeyCollection(SortedDictionary<TKey, TValue> dic)
Parameters
|
SortedDictionary<TKey, TValue>
dic
|
Properties
Count
Returns the count.
Declaration
public int Count { get; }
Property Value
|
System.Int32
|
Methods
CopyTo(TKey[], Int32)
Copies all values to this key collection.
Declaration
public void CopyTo(TKey[] array, int arrayIndex)
Parameters
|
TKey[]
array
|
|
System.Int32
arrayIndex
|
GetEnumerator()
Gets the enumerator.
Declaration
public SortedDictionary<TKey, TValue>.KeyCollection.Enumerator GetEnumerator()
Returns
|
SortedDictionary.KeyCollection.Enumerator<>
|