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.

SortedSet<T> Constructor

.NET Framework (current version)
 

Initializes a new instance of the SortedSet<T> class.

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

NameDescription
System_CAPS_pubmethodSortedSet<T>()

Initializes a new instance of the SortedSet<T> class.

System_CAPS_pubmethodSortedSet<T>(IComparer<T>^)

Initializes a new instance of the SortedSet<T> class that uses a specified comparer.

System_CAPS_pubmethodSortedSet<T>(IEnumerable<T>^)

Initializes a new instance of the SortedSet<T> class that contains elements copied from a specified enumerable collection.

System_CAPS_pubmethodSortedSet<T>(IEnumerable<T>^, IComparer<T>^)

Initializes a new instance of the SortedSet<T> class that contains elements copied from a specified enumerable collection and that uses a specified comparer.

System_CAPS_protmethodSortedSet<T>(SerializationInfo^, StreamingContext)

Initializes a new instance of the SortedSet<T> class that contains serialized data.

This constructor is an O(1) operation.

Return to top
Show:
© 2017 Microsoft