HttpServerUtilityBase.UrlDecode Method
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.
When overridden in a derived class, decodes a string that was encoded to include only characters that are valid in a URL.
UrlDecode(String) |
When overridden in a derived class, decodes a URL-encoded string and returns the decoded string. |
UrlDecode(String, TextWriter) |
When overridden in a derived class, decodes a URL-encoded string and sends the resulting output to a stream. |
When overridden in a derived class, decodes a URL-encoded string and returns the decoded string.
public:
virtual System::String ^ UrlDecode(System::String ^ s);
public virtual string UrlDecode (string s);
abstract member UrlDecode : string -> string
override this.UrlDecode : string -> string
Public Overridable Function UrlDecode (s As String) As String
Parameters
- s
- String
The string to decode.
Returns
The decoded text.
Exceptions
Always.
Applies to
.NET Framework 4.8.1 e altre versioni
Prodotto | Versioni |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
When overridden in a derived class, decodes a URL-encoded string and sends the resulting output to a stream.
public:
virtual void UrlDecode(System::String ^ s, System::IO::TextWriter ^ output);
public virtual void UrlDecode (string s, System.IO.TextWriter output);
abstract member UrlDecode : string * System.IO.TextWriter -> unit
override this.UrlDecode : string * System.IO.TextWriter -> unit
Public Overridable Sub UrlDecode (s As String, output As TextWriter)
Parameters
- s
- String
The string to decode.
- output
- TextWriter
The stream to contain the decoded string.
Exceptions
Always.
Remarks
The output
parameter is passed by reference to the UrlDecode method. To retrieve the output from the handler after the method completes, you use the properties and methods of the output
object. For an example, see HtmlDecode.
Applies to
.NET Framework 4.8.1 e altre versioni
Prodotto | Versioni |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Feedback su .NET
.NET è un progetto di open source. Selezionare un collegamento per fornire feedback: