Click or drag to resize

TypedSortedListEx TKey , TValue Methods

The TypedSortedListEx TKey, TValue generic type exposes the following members.

Methods
Name Description
Public method Add(KeyValuePair TKey, TValue )
Adds the specified key-value pair to the collection.
Public method Add(Object, Object)
Adds a new entry with the specified key and value to the dictionary.
Public method Add(TKey, TValue)
Adds an element with the provided key and value to the list.
Public method Clear
Removes all elements from the collection.
Public method Clone
Creates a new object that is a copy of the current instance.
Public method CloneAll
Clone current instance.
Public method Contains(KeyValuePair TKey, TValue )
Determines whether the collection contains a specific key-value pair.
Public method Contains(Object)
Determines whether the collection contains an element with the specified key.
Public method Contains(TKey)
Determines whether the list contains an element with the specified key.
Public method ContainsKey
Determines whether the list contains an element with the specified key.
Public method ContainsValue
Determines whether the list contains the specified value.
Public method CopyTo(Array, Int32)
Copies all the elements of the SortedListEx to the specified one-dimensional Array starting at the specified destination Array index.
Public method CopyTo( KeyValuePair TKey, TValue , Int32)
Copies the elements of the collection to an array, starting at a particular array index.
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetByIndex
Gets the value at the specified index of the SortedListEx.
Public method GetEnumerator
Returns an enumerator that iterates through the dictionary.
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetKey
Gets the key at the specified index of the SortedListEx.
Public method GetKeyList
Gets the keys in the SortedListEx.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Public method GetValueList
Gets the values in the SortedListEx.
Public method IndexOfKey
Returns the zero-based index of the specified key.
Public method IndexOfValue
Returns the zero-based index of the first occurrence of the specified value.
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method Remove(KeyValuePair TKey, TValue )
Removes the specified KeyValuePair from the collection.
Public method Remove(Object)
Removes the element with the specified key from the collection.
Public method Remove(TKey)
Removes the element with the specified key from SortedListEx.
Public method RemoveAt
Removes the element at the specified index.
Public method SetByIndex
Replaces the value at the specific index.
Public method Static member Synchronized
Returns a synchronized (thread-safe) wrapper for the SortedList.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Public method TrimToSize
Sets the capacity to the actual number of elements.
Public method TryGetValue
Attempts to get the value associated with the specified key.
Top
See Also