System::Collections::Concurrent::ConcurrentDictionary::Add method

ConcurrentDictionary::Add method

向字典中添加值。

virtual void System::Collections::Concurrent::ConcurrentDictionary<TKey, TValue>::Add(const TKey &key, const TValue &value) override
ParameterType描述
const TKey&要添加的键。
valueconst TValue&要添加的值。

另见