ObservableDictionaryTKey, TValue Constructor (Int32, 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(
int capacity,
IEqualityComparer<TKey> comparer
)
Public Sub New (
capacity As Integer,
comparer As IEqualityComparer(Of TKey)
)
public:
ObservableDictionary(
int capacity,
IEqualityComparer<TKey>^ comparer
)
new :
capacity : int *
comparer : IEqualityComparer<'TKey> -> ObservableDictionary
Parameters
- capacity
- Type: SystemInt32
The initial number of elements that the DictionaryTKey, TValue can contain. - 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