Initializes a new instance of the LinkedHashMap<(Of <(<'TKey, TValue>)>)> class that is empty, has the specified initial capacity, and uses the specified IEqualityComparer<(Of <(<'T>)>)>.
Namespace: NHibernate.UtilAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public LinkedHashMap( int capacity, IEqualityComparer<TKey> equalityComparer ) |
Visual Basic |
---|
Public Sub New ( _ capacity As Integer, _ equalityComparer As IEqualityComparer(Of TKey) _ ) |
Visual C++ |
---|
public: LinkedHashMap( int capacity, IEqualityComparer<TKey>^ equalityComparer ) |
Parameters
- capacity
- Type: System..::..Int32
The initial number of elements that the LinkedHashMap<(Of <(<'TKey, TValue>)>)> can contain.
- equalityComparer
- Type: System.Collections.Generic..::..IEqualityComparer<(Of <(<'TKey>)>)>
The IEqualityComparer<(Of <(<'T>)>)> implementation to use when comparing keys, or null to use the default EqualityComparer for the type of the key.