SortedList Methods

SortedList Methods

 

Namespace:   System.Collections
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodAdd(Object, Object)

Adds an element with the specified key and value to a SortedList object.

System_CAPS_pubmethodClear()

Removes all elements from a SortedList object.

System_CAPS_pubmethodClone()

Creates a shallow copy of a SortedList object.

System_CAPS_pubmethodContains(Object)

Determines whether a SortedList object contains a specific key.

System_CAPS_pubmethodContainsKey(Object)

Determines whether a SortedList object contains a specific key.

System_CAPS_pubmethodContainsValue(Object)

Determines whether a SortedList object contains a specific value.

System_CAPS_pubmethodCopyTo(Array, Int32)

Copies SortedList elements to a one-dimensional Array object, starting at the specified index in the array.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetByIndex(Int32)

Gets the value at the specified index of a SortedList object.

System_CAPS_pubmethodGetEnumerator()

Returns an IDictionaryEnumerator object that iterates through a SortedList object.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetKey(Int32)

Gets the key at the specified index of a SortedList object.

System_CAPS_pubmethodGetKeyList()

Gets the keys in a SortedList object.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodGetValueList()

Gets the values in a SortedList object.

System_CAPS_pubmethodIndexOfKey(Object)

Returns the zero-based index of the specified key in a SortedList object.

System_CAPS_pubmethodIndexOfValue(Object)

Returns the zero-based index of the first occurrence of the specified value in a SortedList object.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodRemove(Object)

Removes the element with the specified key from a SortedList object.

System_CAPS_pubmethodRemoveAt(Int32)

Removes the element at the specified index of a SortedList object.

System_CAPS_pubmethodSetByIndex(Int32, Object)

Replaces the value at a specific index in a SortedList object.

System_CAPS_pubmethodSystem_CAPS_staticSynchronized(SortedList)

Returns a synchronized (thread-safe) wrapper for a SortedList object.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodTrimToSize()

Sets the capacity to the actual number of elements in a SortedList object.

NameDescription
System_CAPS_pubmethodAsParallel()

Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)

System_CAPS_pubmethodAsQueryable()

Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.)

System_CAPS_pubmethodCast<TResult>()

Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.)

System_CAPS_pubmethodOfType<TResult>()

Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.)

Return to top
Show:
© 2016 Microsoft