다음을 통해 공유


UrlQuerySanitizer.GetValue(String) Method

Definition

Get the value for a parameter in the current sanitized query.

[Android.Runtime.Register("getValue", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetValue_Ljava_lang_String_Handler")]
public virtual string? GetValue (string? parameter);
[<Android.Runtime.Register("getValue", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetValue_Ljava_lang_String_Handler")>]
abstract member GetValue : string -> string
override this.GetValue : string -> string

Parameters

parameter
String

the unencoded name of a parameter.

Returns

the sanitized unencoded value of the parameter, or null if the parameter does not exist.

Attributes

Remarks

Get the value for a parameter in the current sanitized query. Returns null if the parameter does not exit.

Java documentation for android.net.UrlQuerySanitizer.getValue(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