MobileTextWriter.WriteUrlEncodedString(String, Boolean) 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.
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.