Creates a new set instance based on a sorted tree and initializes it based on a collection of elements.

Namespace: Iesi.Collections
Assembly: Iesi.Collections (in Iesi.Collections.dll) Version: 1.0.1.0 (3.2.0.4000)

Syntax

C#
public SortedSet(
	ICollection initialValues,
	IComparer comparer
)
Visual Basic
Public Sub New ( _
	initialValues As ICollection, _
	comparer As IComparer _
)
Visual C++
public:
SortedSet(
	ICollection^ initialValues, 
	IComparer^ comparer
)

Parameters

initialValues
Type: System.Collections..::..ICollection
A collection of elements that defines the initial set contents.
comparer
Type: System.Collections..::..IComparer
The IComparer to use for sorting.

See Also