Wintellect.PowerCollections Namespace
Algorithms Class
GhostDoc Pro Sample Help File

OrderedSet<(Of <(<'T>)>)>..::..Comparer Property

Returns the IComparer<T> used to compare items in this set.

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

Syntax


public IComparer<T> Comparer { get; }
Public ReadOnly Property Comparer As IComparer(Of T)
	Get
public:
property IComparer<T>^ Comparer {
	IComparer<T>^ get ();
}

Field Value

If the set was created using a comparer, that comparer is returned. If the set was created using a comparison delegate, then a comparer equivalent to that delegate is returned. Otherwise the default comparer for T (Comparer<T>.Default) is returned.