SortedList<TKey, TValue>
SortedList()
SortedList(Int32)
SortedList(IComparer<TKey>)
SortedList(Int32, IComparer<TKey>)
SortedList(IDictionary<TKey, TValue>)
SortedList(IDictionary<TKey, TValue>, IComparer<TKey>)
Capacity
Comparer
Count
Keys
this[TKey]
Values
Add(TKey, TValue)
Clear()
ContainsKey(TKey)
ContainsValue(TValue)
GetEnumerator()
GetKeyAtIndex(Int32)
GetValueAtIndex(Int32)
IndexOfKey(TKey)
IndexOfValue(TValue)
Remove(TKey)
RemoveAt(Int32)
SetValueAtIndex(Int32, TValue)
TrimExcess()
TryGetValue(TKey, TValue)
net9.0
namespace System.Collections.Generic
{
[DefaultMember("Item")]
public class SortedList<TKey, TValue> : ICollection<KeyValuePair<TKey, TValue>>, IDictionary<TKey, TValue>, IEnumerable, IEnumerable<KeyValuePair<TKey, TValue>>, IReadOnlyCollection<KeyValuePair<TKey, TValue>>, IReadOnlyDictionary<TKey, TValue>, ICollection, IDictionary
where TKey, notnull
{
public void SetValueAtIndex(int index, TValue value);
}
}
Design Reviews |
|
---|---|
.NET | 7.08.09.0 |
Information specific to net9.0 | |
Assembly | System.Collections , Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a |
Referencing | The API is automatically referenced. |
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API