Language

ClientParamsStack.SetParameter(String, Object) Method

Definition

Sets a parameter in the override layer.

[Android.Runtime.Register("setParameter", "(Ljava/lang/String;Ljava/lang/Object;)Lorg/apache/http/params/HttpParams;", "GetSetParameter_Ljava_lang_String_Ljava_lang_Object_Handler")]
public override 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")>]
override this.SetParameter : string * Java.Lang.Object -> Org.Apache.Http.Params.IHttpParams

Parameters

name
String

The parameter name. This implementation ignores it and does not set a parameter.

value
Object

The parameter value. This implementation ignores it.

Returns

This implementation does not return a value. It always throws UnsupportedOperationException because the stack does not support parameter assignment.

Attributes

Remarks

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