Export (0) Print
Expand All

SortedDictionary Members

Represents a collection of key/value pairs that are sorted on the key.

The following tables list the members exposed by the SortedDictionary generic type.

  Name Description
Public method SortedDictionary Overloaded. Initializes a new instance of the SortedDictionary class.
Top

  Name Description
Public property Comparer Gets the IComparer used to order the elements of the SortedDictionary.
Public property Count Gets the number of key/value pairs contained in the SortedDictionary.
Public property Item Gets or sets the value associated with the specified key.
Public property Keys Gets a collection containing the keys in the SortedDictionary.
Public property Values Gets a collection containing the values in the SortedDictionary.
Top

(see also Protected Methods )
  Name Description
Public method Add Adds an element with the specified key and value into the SortedDictionary.
Public method Clear Removes all elements from the SortedDictionary.
Public method ContainsKey Determines whether the SortedDictionary contains an element with the specified key.
Public method ContainsValue Determines whether the SortedDictionary contains an element with the specified value.
Public method CopyTo Copies the elements of the SortedDictionary to the specified array of KeyValuePair structures, starting at the specified index.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetEnumerator Returns an enumerator that iterates through the SortedDictionary.
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Remove Removes the element with the specified key from the SortedDictionary.
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Public method TryGetValue  
Top

  Name Description
Protected method 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 MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

Community Additions

ADD
Show:
© 2014 Microsoft