SortedSet(T) Constructor

SortedSet(Of T) Constructor

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes a new instance of the SortedSet(Of T) 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 SortedSet(Of T) Initializes a new instance of the SortedSet(Of T) class.
Public method SortedSet(Of T)(IComparer(Of T)) Initializes a new instance of the SortedSet(Of T) class that uses a specified comparer.
Public method SortedSet(Of T)(IEnumerable(Of T)) Initializes a new instance of the SortedSet(Of T) class that contains elements copied from a specified enumerable collection.
Public method SortedSet(Of T)(IEnumerable(Of T), IComparer(Of T)) Initializes a new instance of the SortedSet(Of T) class that contains elements copied from a specified enumerable collection and that uses a specified comparer.
Top

This constructor is an O(1) operation.

Show:
© 2017 Microsoft