StringDictionary<TValue>

Summary

Fast Dictionary with string type as key When it exceeds a predetermined number of elements(default 32) High load generation

Relation

System.Collections.IDictionary
System.Collections.ICollection
System.Collections.IEnumerable

Type Params

TValueDictionary value type

Constructor

#ctor(System.Int32) Fast Dictionary with string type as key When it exceeds a predetermined number of elements(default 32) High load generation

Indexer

This[System.String] Get elements

Property

Count Gets the count.
Keys Gets the keys.
Values Gets the values.
IsReadOnly Gets a value indicating whether this instance is read only.

Method

Add(System.String,TValue) Add new value
Remove(System.String) Remove from list
Clear( ) Clear all buffer ( Memory is not free )
ContainsKey(System.String) Check contains value by key
ContainsValue(TValue) Check contains value by value
TryGetValue(System.String,TValue@) Try Get Value When value exists Assign value to value and output
Contains(System.Collections.Generic.KeyValuePair{System.String,TValue}) Give KeyValuePair and check if value exists
CopyTo(System.Collections.Generic.KeyValuePair{System.String,TValue}[],System.Int32) Copy array
Add(System.Collections.Generic.KeyValuePair{System.String,TValue}) Add new value
Remove(System.Collections.Generic.KeyValuePair{System.String,TValue}) Remove from list
GetEnumerator( ) Get Enumerator

Reference