Język

DefaultedHttpParams.SetParameter(String, Object) Method

Definition

Sets the parameter in the local collection.

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

Parameters

name
String

The name of the parameter to set in the local collection.

value
Object

The value to pass to the local collection. A null local value allows lookup in the default collection.

Returns

The result of setting the parameter on the local collection, not this wrapper. The default collection is not changed.

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