共用方式為


IHttpParams.GetDoubleParameter(String, Double) Method

Definition

Returns a Double parameter value with the given name.

[Android.Runtime.Register("getDoubleParameter", "(Ljava/lang/String;D)D", "GetGetDoubleParameter_Ljava_lang_String_DHandler:Org.Apache.Http.Params.IHttpParamsInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public double GetDoubleParameter (string? name, double defaultValue);
[<Android.Runtime.Register("getDoubleParameter", "(Ljava/lang/String;D)D", "GetGetDoubleParameter_Ljava_lang_String_DHandler:Org.Apache.Http.Params.IHttpParamsInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetDoubleParameter : string * double -> double

Parameters

name
String

the parent name.

defaultValue
Double

the default value.

Returns

a Double that represents the value of the parameter.

Attributes

Remarks

Returns a Double parameter value with the given name. If the parameter is not explicitly set, the default value is returned.

Java documentation for org.apache.http.params.HttpParams.getDoubleParameter(java.lang.String, double).

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.SetDoubleParameter(System.String%2c+System.Double)>