Share via


IHttpParams.SetParameter(String, Object) Method

Definition

Assigns the value to the parameter with the given name.

[Android.Runtime.Register("setParameter", "(Ljava/lang/String;Ljava/lang/Object;)Lorg/apache/http/params/HttpParams;", "GetSetParameter_Ljava_lang_String_Ljava_lang_Object_Handler:Org.Apache.Http.Params.IHttpParamsInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Org.Apache.Http.Params.IHttpParams? SetParameter (string? name, Java.Lang.Object? value);
[<Android.Runtime.Register("setParameter", "(Ljava/lang/String;Ljava/lang/Object;)Lorg/apache/http/params/HttpParams;", "GetSetParameter_Ljava_lang_String_Ljava_lang_Object_Handler:Org.Apache.Http.Params.IHttpParamsInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetParameter : string * Java.Lang.Object -> Org.Apache.Http.Params.IHttpParams

Parameters

name
String

parameter name

value
Object

parameter value

Returns

Attributes

Remarks

Assigns the value to the parameter with the given name.

Java documentation for org.apache.http.params.HttpParams.setParameter(java.lang.String, java.lang.Object).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to