IHttpParams.GetBooleanParameter(String, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a Boolean
parameter value with the given name.
[Android.Runtime.Register("getBooleanParameter", "(Ljava/lang/String;Z)Z", "GetGetBooleanParameter_Ljava_lang_String_ZHandler:Org.Apache.Http.Params.IHttpParamsInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool GetBooleanParameter (string? name, bool defaultValue);
[<Android.Runtime.Register("getBooleanParameter", "(Ljava/lang/String;Z)Z", "GetGetBooleanParameter_Ljava_lang_String_ZHandler:Org.Apache.Http.Params.IHttpParamsInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetBooleanParameter : string * bool -> bool
Parameters
- name
- String
the parent name.
- defaultValue
- Boolean
the default value.
Returns
a Boolean
that represents the value of the parameter.
- Attributes
Remarks
Returns a Boolean
parameter value with the given name. If the parameter is not explicitly set, the default value is returned.
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
See also
- <xref:Org.Apache.Http.Params.IHttpParams.SetBooleanParameter(System.String%2c+System.Boolean)>