FrozenDictionary<TKey,TValue>.IDictionary.Add(Object, Object) 方法

定义

IDictionary 对象中添加一个带有所提供的键和值的元素。

 virtual void System.Collections.IDictionary.Add(System::Object ^ key, System::Object ^ value) = System::Collections::IDictionary::Add;
void IDictionary.Add (object key, object value);
abstract member System.Collections.IDictionary.Add : obj * obj -> unit
override this.System.Collections.IDictionary.Add : obj * obj -> unit
Sub Add (key As Object, value As Object) Implements IDictionary.Add

参数

key
Object

用作要添加的元素的键的 Object

value
Object

用作要添加的元素的键的 Object

实现

适用于