Initializes a new instance of the KeyValuePair<(Of <(<'TKey, TValue>)>)> structure with the specified key and value.

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

Syntax

C#
public ObservableKeyValuePair(
	TKey key,
	TValue value,
	IEqualityComparer<TKey> comparer
)
Visual Basic
Public Sub New ( 
	key As TKey,
	value As TValue,
	comparer As IEqualityComparer(Of TKey)
)

Parameters

key
Type: TKey
The object defined in each key/value pair.
value
Type: TValue
The definition associated with key.
comparer
Type: System.Collections.Generic..::..IEqualityComparer<(Of <(<'TKey>)>)>
An implemetion IEqualityComparer<(Of <(<'T>)>)>, which should be used while comparing keys, or null, if for the current key type default implemention EqualityComparer<(Of <(<'T>)>)> has to be used.

See Also