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

Definition

Fügt den MessageProperties ein Element mit dem angegebenen Namen und der Eigenschaft hinzu.

 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

Parameter

pair
KeyValuePair<String,Object>

Ein Attribut-Wert-Paar, das den Namen und den Wert des hinzuzufügenden Elements enthält.

Implementiert

Gilt für: