Initializes a new instance of the Dictionary<(Of <(<'TKey, TValue>)>)> class that is empty, has the default initial capacity, and uses the specified IEqualityComparer<(Of <(<'T>)>)>.

Namespace: System.Collections.ObjectModel
Assembly: Elysium (in Elysium.dll) Version: 2.0.1042.4 (2.0.1042.4)

Syntax

C#
public ObservableDictionary(
	IEqualityComparer<TKey> comparer
)
Visual Basic
Public Sub New ( 
	comparer As IEqualityComparer(Of TKey)
)

Parameters

comparer
Type: System.Collections.Generic..::..IEqualityComparer<(Of <(<'TKey>)>)>
The IEqualityComparer<(Of <(<'T>)>)> implementation to use when comparing keys, or null to use the default EqualityComparer<(Of <(<'T>)>)> for the type of the key.

See Also