ObservableDictionaryTKey, TValue Constructor (IDictionaryTKey, TValue, IEqualityComparerTKey) |
Namespace:
Ptv.XServer.Controls.Map.Tools
Assembly:
Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax public ObservableDictionary(
IDictionary<TKey, TValue> copyDictionary,
IEqualityComparer<TKey> comparer
)
Public Sub New (
copyDictionary As IDictionary(Of TKey, TValue),
comparer As IEqualityComparer(Of TKey)
)
public:
ObservableDictionary(
IDictionary<TKey, TValue>^ copyDictionary,
IEqualityComparer<TKey>^ comparer
)
new :
copyDictionary : IDictionary<'TKey, 'TValue> *
comparer : IEqualityComparer<'TKey> -> ObservableDictionary
Parameters
- copyDictionary
- Type: System.Collections.GenericIDictionaryTKey, TValue
The IDictionaryTKey, TValue whose elements are copied to the new DictionaryTKey, TValue. - comparer
- Type: System.Collections.GenericIEqualityComparerTKey
The IEqualityComparerT implementation to use
when comparing keys, or null to use the default IEqualityComparerT for the type of the key.
See Also