Export (0) Print
Expand All

SortedList Members

Represents a collection of key/value pairs that are sorted by the keys and are accessible by key and by index.

The following tables list the members exposed by the SortedList type.

  Name Description
Public method Supported by the .NET Compact Framework SortedList Overloaded. Initializes a new instance of the SortedList class.
Top

  Name Description
Public property Supported by the .NET Compact Framework Capacity Gets or sets the capacity of a SortedList object.
Public property Supported by the .NET Compact Framework Count Gets the number of elements contained in a SortedList object.
Public property Supported by the .NET Compact Framework IsFixedSize Gets a value indicating whether a SortedList object has a fixed size.
Public property Supported by the .NET Compact Framework IsReadOnly Gets a value indicating whether a SortedList object is read-only.
Public property Supported by the .NET Compact Framework IsSynchronized Gets a value indicating whether access to a SortedList object is synchronized (thread safe).
Public property Supported by the .NET Compact Framework Item Gets and sets the value associated with a specific key in a SortedList object.
Public property Supported by the .NET Compact Framework Keys Gets the keys in a SortedList object.
Public property Supported by the .NET Compact Framework SyncRoot Gets an object that can be used to synchronize access to a SortedList object.
Public property Supported by the .NET Compact Framework Values Gets the values in a SortedList object.
Top

(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Add Adds an element with the specified key and value to a SortedList object.
Public method Supported by the .NET Compact Framework Clear Removes all elements from a SortedList object.
Public method Supported by the .NET Compact Framework Clone Creates a shallow copy of a SortedList object.
Public method Supported by the .NET Compact Framework Contains Determines whether a SortedList object contains a specific key.
Public method Supported by the .NET Compact Framework ContainsKey Determines whether a SortedList object contains a specific key.
Public method Supported by the .NET Compact Framework ContainsValue Determines whether a SortedList object contains a specific value.
Public method Supported by the .NET Compact Framework CopyTo Copies SortedList elements to a one-dimensional Array object, starting at the specified index in the array.
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Supported by the .NET Compact Framework GetByIndex Gets the value at the specified index of a SortedList object.
Public method Supported by the .NET Compact Framework GetEnumerator Returns an IDictionaryEnumerator object that iterates through a SortedList object.
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method Supported by the .NET Compact Framework GetKey Gets the key at the specified index of a SortedList object.
Public method Supported by the .NET Compact Framework GetKeyList Gets the keys in a SortedList object.
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method Supported by the .NET Compact Framework GetValueList Gets the values in a SortedList object.
Public method Supported by the .NET Compact Framework IndexOfKey Returns the zero-based index of the specified key in a SortedList object.
Public method Supported by the .NET Compact Framework IndexOfValue Returns the zero-based index of the first occurrence of the specified value in a SortedList object.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework Remove Removes the element with the specified key from a SortedList object.
Public method Supported by the .NET Compact Framework RemoveAt Removes the element at the specified index of a SortedList object.
Public method Supported by the .NET Compact Framework SetByIndex Replaces the value at a specific index in a SortedList object.
Public method Static Supported by the .NET Compact Framework Synchronized Returns a synchronized (thread-safe) wrapper for a SortedList object.
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (inherited from Object)
Public method Supported by the .NET Compact Framework TrimToSize Sets the capacity to the actual number of elements in a SortedList object.
Top

  Name Description
Protected method Supported by the .NET Compact Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

  Name Description
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IEnumerable.GetEnumerator Returns an IEnumerator that iterates through the SortedList.
Top

Community Additions

ADD
Show:
© 2014 Microsoft