Partager via


IHttpParams.IsParameterTrue(String) Method

Definition

Checks if a boolean parameter is set to true.

[Android.Runtime.Register("isParameterTrue", "(Ljava/lang/String;)Z", "GetIsParameterTrue_Ljava_lang_String_Handler:Org.Apache.Http.Params.IHttpParamsInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool IsParameterTrue (string? name);
[<Android.Runtime.Register("isParameterTrue", "(Ljava/lang/String;)Z", "GetIsParameterTrue_Ljava_lang_String_Handler:Org.Apache.Http.Params.IHttpParamsInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member IsParameterTrue : string -> bool

Parameters

name
String

parameter name

Returns

true if the parameter is set to value true, false if it is not set or set to false

Attributes

Remarks

Checks if a boolean parameter is set to true.

Java documentation for org.apache.http.params.HttpParams.isParameterTrue(java.lang.String).

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