Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SortedDictionary<TKey, TValue> Constructor

 

Initializes a new instance of the SortedDictionary<TKey, TValue> class.

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

NameDescription
System_CAPS_pubmethodSortedDictionary<TKey, TValue>()

Initializes a new instance of the SortedDictionary<TKey, TValue> class that is empty and uses the default IComparer<T> implementation for the key type.

System_CAPS_pubmethodSortedDictionary<TKey, TValue>(IComparer<TKey>^)

Initializes a new instance of the SortedDictionary<TKey, TValue> class that is empty and uses the specified IComparer<T> implementation to compare keys.

System_CAPS_pubmethodSortedDictionary<TKey, TValue>(IDictionary<TKey, TValue>^)

Initializes a new instance of the SortedDictionary<TKey, TValue> class that contains elements copied from the specified IDictionary<TKey, TValue> and uses the default IComparer<T> implementation for the key type.

System_CAPS_pubmethodSortedDictionary<TKey, TValue>(IDictionary<TKey, TValue>^, IComparer<TKey>^)

Initializes a new instance of the SortedDictionary<TKey, TValue> class that contains elements copied from the specified IDictionary<TKey, TValue> and uses the specified IComparer<T> implementation to compare keys.

Return to top
Show:
© 2017 Microsoft