Megosztás a következőn keresztül:


IHttpParams.GetIntParameter(String, Int32) Method

Definition

Returns an Integer parameter value with the given name.

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

Parameters

name
String

the parent name.

defaultValue
Int32

the default value.

Returns

a Integer that represents the value of the parameter.

Attributes

Remarks

Returns an Integer 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.getIntParameter(java.lang.String, int).

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