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

IDictionary::Add method

向容器中添加键值对。

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

另见