MobileTextWriter.WriteUrlEncodedString(String, Boolean) Method

Definition

Writes the given string, encoding it according to URL requirements.

protected:
 void WriteUrlEncodedString(System::String ^ s, bool argument);
protected void WriteUrlEncodedString (string s, bool argument);
member this.WriteUrlEncodedString : string * bool -> unit
Protected Sub WriteUrlEncodedString (s As String, argument As Boolean)

Parameters

s
String

The string to be added.

argument
Boolean

If argument is true, the encoding is done as if the string were a part of the URL parameters. If argument is false, the encoding is done as if the string were part of the path portion of the URL.

Remarks

The WriteEncodedUrl(String) and WriteEncodedUrlParameter(String) methods use this method as a utility method.

Applies to

See also