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.
Applies to
See also
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.