Wintellect.PowerCollections Namespace
Algorithms Class
GhostDoc Pro Sample Help File

OrderedSet<(Of <(<'T>)>)> Constructor

Creates a new OrderedSet. The T must implement IComparable<T> or IComparable. The CompareTo method of this interface will be used to compare items in this set.

Namespace:  Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax


public OrderedSet()
Public Sub New
public:
OrderedSet()

Exceptions


ExceptionCondition
InvalidOperationExceptionT does not implement IComparable<TKey>.

Remarks


Items that are null are permitted, and will be sorted before all other items.