共用方式為


IHttpParams.SetBooleanParameter(String, Boolean) Method

Definition

Assigns a Boolean to the parameter with the given name

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

Parameters

name
String

parameter name

value
Boolean

parameter value

Returns

Attributes

Remarks

Assigns a Boolean to the parameter with the given name

Java documentation for org.apache.http.params.HttpParams.setBooleanParameter(java.lang.String, boolean).

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