System.Collections.SortedList
Added in .NET 1.1
Consider upgrading to System.Collections.Generic.SortedList
System.Collections.SortedList
Methods
Add | Appends an element after the last element in the collection and returns the index where it was inserted. |
Clear | Removes all elements from the collection. |
Clone | |
Contains | Returns TRUE if an element exists in the collection. |
ContainsKey | |
ContainsValue | |
CopyTo | Copies the elements from the collection to a new one-dimensional array, starting at the specified index in the array. |
GetByIndex | Gets the value at a specified index |
GetEnumerator | Returns an enumerator to iterate an ArrayList |
GetKey | |
GetKeyList | |
GetValueList | |
IndexOfKey | |
IndexOfValue | |
Remove | Removes an element from the collection |
RemoveAt | Removes an element at the specified index from the collection |
SetByIndex | |
Synchronized | Alphabetically sorts the elements |
TrimToSize |
Properties
Capacity | Property contains the number of elements the srray can currently hold. |
Count | Returns the number of elements in the collection. |
IsFixedSize | Returns TRUE if no more elements can be added to the collection. |
IsReadOnly | Returns TRUE is the elements cannot be altered. |
IsSynchronized | |
Item | |
Keys | |
SyncRoot | |
Values |
Generic Version
The generic version of this collection is System.Collections.Generic.SortedList
© 2023 Better Solutions Limited. All Rights Reserved. © 2023 Better Solutions Limited TopPrevNext