AtalaObservableDictionaryTKey, TValue Constructor (Int32, IEqualityComparerTKey) |
Namespace:
Atalasoft.Imaging.Wpf
Assembly:
Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public AtalaObservableDictionary(
int capacity,
IEqualityComparer<TKey> comparer
)
Public Sub New (
capacity As Integer,
comparer As IEqualityComparer(Of TKey)
)
Parameters
- capacity
- Type: SystemInt32
The initial number of elements that the AtalaObservableDictionaryTKey, 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.
Exceptions Exception | Condition |
---|
ArgumentOutOfRangeException | capacity is less than 0. |
See Also