IHttpParams.GetLongParameter(String, Int64) 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 Long
parameter value with the given name.
[Android.Runtime.Register("getLongParameter", "(Ljava/lang/String;J)J", "GetGetLongParameter_Ljava_lang_String_JHandler:Org.Apache.Http.Params.IHttpParamsInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public long GetLongParameter (string? name, long defaultValue);
[<Android.Runtime.Register("getLongParameter", "(Ljava/lang/String;J)J", "GetGetLongParameter_Ljava_lang_String_JHandler:Org.Apache.Http.Params.IHttpParamsInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetLongParameter : string * int64 -> int64
Parameters
- name
- String
the parent name.
- defaultValue
- Int64
the default value.
Returns
a Long
that represents the value of the parameter.
- Attributes
Remarks
Returns a Long
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.getLongParameter(java.lang.String, long)
.
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.SetLongParameter(System.String%2c+System.Int64)>