QueryString.ToUriComponent Method

Definition

Provides the query string escaped in a way which is correct for combining into the URI representation. A leading '?' character will be prepended unless the Value is null or empty. Characters which are potentially dangerous are escaped.

public string ToUriComponent ();
member this.ToUriComponent : unit -> string
Public Function ToUriComponent () As String

Returns

The query string value

Applies to