SortedList<TKey, TValue> Properties
.NET Framework 4
The SortedList<TKey, TValue> type exposes the following members.
| Name | Description | |
|---|---|---|
|
Capacity | Gets or sets the number of elements that the SortedList<TKey, TValue> can contain. |
|
Comparer | Gets the IComparer<T> for the sorted list. |
|
Count | Gets the number of key/value pairs contained in the SortedList<TKey, TValue>. |
|
Item | Gets or sets the value associated with the specified key. |
|
Keys | Gets a collection containing the keys in the SortedList<TKey, TValue>. |
|
Values | Gets a collection containing the values in the SortedList<TKey, TValue>. |
| Name | Description | |
|---|---|---|
|
ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly | Gets a value indicating whether the ICollection<T> is read-only. |
|
ICollection.IsSynchronized | Gets a value indicating whether access to the ICollection is synchronized (thread safe). |
|
ICollection.SyncRoot | Gets an object that can be used to synchronize access to the ICollection. |
|
IDictionary.IsFixedSize | Gets a value indicating whether the IDictionary has a fixed size. |
|
IDictionary.IsReadOnly | Gets a value indicating whether the IDictionary is read-only. |
|
IDictionary.Item | Gets or sets the element with the specified key. |
|
IDictionary<TKey, TValue>.Keys | Gets an ICollection<T> containing the keys of the IDictionary<TKey, TValue>. |
|
IDictionary.Keys | Gets an ICollection containing the keys of the IDictionary. |
|
IDictionary<TKey, TValue>.Values | Gets an ICollection<T> containing the values in the IDictionary<TKey, TValue>. |
|
IDictionary.Values | Gets an ICollection containing the values in the IDictionary. |