Android.Net.Uri.GetQueryParameter Method
Searches the query string for the first value with the given key.

Syntax

[Android.Runtime.Register("getQueryParameter", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetQueryParameter_Ljava_lang_String_Handler")]
public virtual string GetQueryParameter (string key)

Parameters

key
which will be encoded

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.UnsupportedOperationExceptionif this isn't a hierarchical URI
Java.Lang.NullPointerExceptionif key is null

Remarks

Searches the query string for the first value with the given key.

Warning: Prior to Ice Cream Sandwich, this decoded the '+' character as '+' rather than ' '.

[Android Documentation]

Requirements

Namespace: Android.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1