Export (0) Print
Expand All

SortedList Constructor

Initializes a new instance of the SortedList class.

Name Description
SortedList () Initializes a new instance of the SortedList class that is empty, has the default initial capacity, and is sorted according to the IComparable interface implemented by each key added to the SortedList object.

Supported by the .NET Compact Framework.

SortedList (IComparer) Initializes a new instance of the SortedList class that is empty, has the default initial capacity, and is sorted according to the specified IComparer interface.

Supported by the .NET Compact Framework.

SortedList (IDictionary) Initializes a new instance of the SortedList class that contains elements copied from the specified dictionary, has the same initial capacity as the number of elements copied, and is sorted according to the IComparable interface implemented by each key.

Supported by the .NET Compact Framework.

SortedList (Int32) Initializes a new instance of the SortedList class that is empty, has the specified initial capacity, and is sorted according to the IComparable interface implemented by each key added to the SortedList object.

Supported by the .NET Compact Framework.

SortedList (IComparer, Int32) Initializes a new instance of the SortedList class that is empty, has the specified initial capacity, and is sorted according to the specified IComparer interface.

Supported by the .NET Compact Framework.

SortedList (IDictionary, IComparer) Initializes a new instance of the SortedList class that contains elements copied from the specified dictionary, has the same initial capacity as the number of elements copied, and is sorted according to the specified IComparer interface.

Supported by the .NET Compact Framework.

Community Additions

ADD
Show:
© 2014 Microsoft