MobileTextWriter.WriteUrlEncodedString(String, Boolean) Method

Definition

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

C#
protected void WriteUrlEncodedString(string s, bool argument);

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

Product Versions
.NET Framework 1.1

See also