Share via


HttpRequestOptions.IDictionary<String,Object>.Add Metoda

Definice

Přidá element se zadaným klíčem a hodnotou do objektu 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

Parametry

key
String

Objekt, který se má použít jako klíč prvku, který chcete přidat.

value
Object

Objekt, který se má použít jako hodnota elementu, který chcete přidat.

Implementuje

Poznámky

Tento člen je explicitní implementace členu rozhraní. Lze jej použít pouze v případě, že HttpRequestOptions je instance přetypovaná na IDictionary<TKey,TValue> rozhraní.

Platí pro