Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SortedList<TKey, TValue> Constructor

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework SortedList<TKey, TValue>() Initializes a new instance of the SortedList<TKey, TValue> class that is empty, has the default initial capacity, and uses the default IComparer<T>.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework SortedList<TKey, TValue>(IComparer<TKey>) Initializes a new instance of the SortedList<TKey, TValue> class that is empty, has the default initial capacity, and uses the specified IComparer<T>.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework SortedList<TKey, TValue>(IDictionary<TKey, TValue>) Initializes a new instance of the SortedList<TKey, TValue> class that contains elements copied from the specified IDictionary<TKey, TValue>, has sufficient capacity to accommodate the number of elements copied, and uses the default IComparer<T>.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework SortedList<TKey, TValue>(Int32) Initializes a new instance of the SortedList<TKey, TValue> class that is empty, has the specified initial capacity, and uses the default IComparer<T>.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework SortedList<TKey, TValue>(IDictionary<TKey, TValue>, IComparer<TKey>) Initializes a new instance of the SortedList<TKey, TValue> class that contains elements copied from the specified IDictionary<TKey, TValue>, has sufficient capacity to accommodate the number of elements copied, and uses the specified IComparer<T>.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework SortedList<TKey, TValue>(Int32, IComparer<TKey>) Initializes a new instance of the SortedList<TKey, TValue> class that is empty, has the specified initial capacity, and uses the specified IComparer<T>.
Top

Community Additions

ADD
Show:
© 2015 Microsoft