URLUtil.ComposeSearchUrl(String, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Inserts the inQuery in the template after URL-encoding it.
[Android.Runtime.Register("composeSearchUrl", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "")]
public static string? ComposeSearchUrl(string? inQuery, string? template, string? queryPlaceHolder);
[<Android.Runtime.Register("composeSearchUrl", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "")>]
static member ComposeSearchUrl : string * string * string -> string
Parameters
- inQuery
- String
The search text to encode as UTF-8 form data.
- template
- String
The URL template in which to insert the encoded search text.
- queryPlaceHolder
- String
The text in the template to replace with the encoded query.
Returns
The URL with the first placeholder replaced by the encoded query, or null if the placeholder is absent.
- Attributes
Remarks
Inserts the inQuery in the template after URL-encoding it. The encoded query will replace the queryPlaceHolder.
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.