UrlQuerySanitizer.HasParameter(String) Method

Definition

Check if a parameter exists in the current sanitized query.

[Android.Runtime.Register("hasParameter", "(Ljava/lang/String;)Z", "GetHasParameter_Ljava_lang_String_Handler")]
public virtual bool HasParameter (string? parameter);
[<Android.Runtime.Register("hasParameter", "(Ljava/lang/String;)Z", "GetHasParameter_Ljava_lang_String_Handler")>]
abstract member HasParameter : string -> bool
override this.HasParameter : string -> bool

Parameters

parameter
String

the unencoded name of a parameter.

Returns

true if the parameter exists in the current sanitized queary.

Attributes

Remarks

Check if a parameter exists in the current sanitized query.

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