Share via


Uri.GetQueryParameters(String) Method

Definition

Searches the query string for parameter values with the given key.

[Android.Runtime.Register("getQueryParameters", "(Ljava/lang/String;)Ljava/util/List;", "GetGetQueryParameters_Ljava_lang_String_Handler")]
public virtual System.Collections.Generic.IList<string>? GetQueryParameters (string? key);
[<Android.Runtime.Register("getQueryParameters", "(Ljava/lang/String;)Ljava/util/List;", "GetGetQueryParameters_Ljava_lang_String_Handler")>]
abstract member GetQueryParameters : string -> System.Collections.Generic.IList<string>
override this.GetQueryParameters : string -> System.Collections.Generic.IList<string>

Parameters

key
String

which will be encoded

Returns

a list of decoded values

Attributes

Exceptions

if this isn't a hierarchical URI

if key is null

Remarks

Searches the query string for parameter values with the given key.

Java documentation for android.net.Uri.getQueryParameters(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