DictionaryBaseTKey, TValueAdd Method (TKey, TValue) |
Adds a new key-value pair to the dictionary.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
Exceptions
RemarksThe default implementation of this method
checks to see if the key already exists using
ContainsKey, then calls the indexer setter if the key doesn't
already exist.
See Also