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& | 要添加的值。 |
另见
- Class IDictionary
- Namespace System::Collections::Generic
- Library Aspose.Font for C++