Udostępnij za pośrednictwem


MessageProperties.ICollection<KeyValuePair<String,Object>>.Add Metoda

Definicja

Dodaje element o określonej nazwie i właściwości do MessagePropertieselementu .

 virtual void System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Add(System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> pair) = 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> pair);
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 (pair As KeyValuePair(Of String, Object)) Implements ICollection(Of KeyValuePair(Of String, Object)).Add

Parametry

pair
KeyValuePair<String,Object>

Para klucz/wartość zawierająca nazwę i wartość elementu do dodania.

Implementuje

Dotyczy