HtmlTextWriter.WriteEncodedUrl Method (String)
.NET Framework (current version)
Encodes the specified URL, and then writes it to the output stream. The URL might include parameters.
Assembly: System.Web (in System.Web.dll)
abstract WriteEncodedUrl : url:string -> unit override WriteEncodedUrl : url:string -> unit
Parameters
- url
-
Type:
System.String
The URL string to encode and write to the output stream.
The WriteEncodedUrl method encodes the string in the url parameter in accordance with the specification for URL encoding. The parameters that follow the question mark (?) delimiter are not encoded.
.NET Framework
Available since 2.0
Available since 2.0
Show: