HttpRequestOptions.IDictionary<String,Object>.Add Método

Definición

Agrega un elemento con la clave y el valor proporcionados a IDictionary<TKey,TValue>.

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

Parámetros

key
String

Objeto que se va a utilizar como clave del elemento que se va a agregar.

value
Object

El objeto que se va a usar como valor del elemento que se va a agregar.

Implementaciones

Comentarios

Este miembro es una implementación explícita de un miembro de interfaz. Solo se puede utilizar cuando la instancia de HttpRequestOptions se convierte en una interfaz IDictionary<TKey,TValue>.

Se aplica a