StringKeyedDictionaryTValue(Int32, StringSegmentComparer) Constructor
Namespace: KGySoft.CollectionsAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public StringKeyedDictionary(
int capacity,
StringSegmentComparer? comparer = null
)
Public Sub New (
capacity As Integer,
Optional comparer As StringSegmentComparer = Nothing
)
public:
StringKeyedDictionary(
int capacity,
StringSegmentComparer^ comparer = nullptr
)
new :
capacity : int *
?comparer : StringSegmentComparer
(* Defaults:
let _comparer = defaultArg comparer null
*)
-> StringKeyedDictionary
Parameters
- capacity Int32
- The initial capacity that the StringKeyedDictionaryTValue can contain.
- comparer StringSegmentComparer (Optional)
- A StringSegmentComparer instance to use when comparing keys.
When , ordinal comparison will be used. This parameter is optional.
Default value: .