System::Collections::Generic::IDictionary::Add 方法

IDictionary::Add method

向容器中添加键值对。

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

另见