System.Collections.Generic.SortedList<TKey,TValue>: Method Members

The methods of System.Collections.Generic.SortedList<TKey,TValue> are listed below. For a list of all members, see the SortedList<TKey,TValue> Members list.

See Also: Inherited members from System.Object

Public Methods

Add(TKey, TValue)
Documentation for this section has not yet been entered.
Clear()

Removes all elements from the SortedList`2.

ContainsKey(TKey) : bool
Documentation for this section has not yet been entered.
ContainsValue(TValue) : bool
Documentation for this section has not yet been entered.
GetEnumerator() : IEnumerator<KeyValuePair<TKey, TValue>>

Returns an enumerator that iterates through the SortedList`2.

IndexOfKey(TKey) : int
Documentation for this section has not yet been entered.
IndexOfValue(TValue) : int
Documentation for this section has not yet been entered.
Remove(TKey) : bool
Documentation for this section has not yet been entered.
RemoveAt(int)

Removes the element at the specified index of the SortedList`2.

TrimExcess()

Sets the capacity to the actual number of elements in the SortedList`2, if that number is less than 90 percent of current capacity.

TryGetValue(TKey, out TValue) : bool
Documentation for this section has not yet been entered.