Share via


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 included unless the Value is null or empty. Characters which are potentially dangerous are escaped.

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

Returns

The query string value

Applies to