共用方式為


IHttpParams.GetParameter(String) Method

Definition

Obtains the value of the given parameter.

[Android.Runtime.Register("getParameter", "(Ljava/lang/String;)Ljava/lang/Object;", "GetGetParameter_Ljava_lang_String_Handler:Org.Apache.Http.Params.IHttpParamsInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Lang.Object? GetParameter (string? name);
[<Android.Runtime.Register("getParameter", "(Ljava/lang/String;)Ljava/lang/Object;", "GetGetParameter_Ljava_lang_String_Handler:Org.Apache.Http.Params.IHttpParamsInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetParameter : string -> Java.Lang.Object

Parameters

name
String

the parent name.

Returns

an object that represents the value of the parameter, null if the parameter is not set or if it is explicitly set to null

Attributes

Remarks

Obtains the value of the given parameter.

Java documentation for org.apache.http.params.HttpParams.getParameter(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

See also

  • <xref:Org.Apache.Http.Params.IHttpParams.SetParameter(System.String%2c+Java.Lang.Object)>