Bagikan melalui


ExpandoObject.ICollection<KeyValuePair<String,Object>>.Add Metode

Definisi

Menambahkan nilai yang ditentukan ke yang ICollection<T> memiliki kunci yang ditentukan.

 virtual void System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Add(System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> item) = System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>::Add;
void ICollection<KeyValuePair<string,object>>.Add (System.Collections.Generic.KeyValuePair<string,object> item);
abstract member System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Add : System.Collections.Generic.KeyValuePair<string, obj> -> unit
override this.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Add : System.Collections.Generic.KeyValuePair<string, obj> -> unit
Sub Add (item As KeyValuePair(Of String, Object)) Implements ICollection(Of KeyValuePair(Of String, Object)).Add

Parameter

item
KeyValuePair<String,Object>

Struktur KeyValuePair<TKey,TValue> yang mewakili kunci dan nilai untuk ditambahkan ke koleksi.

Penerapan

Berlaku untuk