Comparteix a través de


MessageProperties.ICollection<KeyValuePair<String,Object>>.Add Método

Definición

Agrega un elemento con la propiedad y el nombre especificados a MessageProperties.

 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

Parámetros

pair
KeyValuePair<String,Object>

Un par clave-valor que contiene el nombre y el valor del elemento que se va a agregar.

Implementaciones

Se aplica a