XhtmlMobileTextWriter.WriteUrlParameter(String, String) Method

Definition

Writes an encoded URL, which includes a query-string parameter, to the output stream. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

C#
public virtual void WriteUrlParameter(string name, string value);

Parameters

name
String

A string containing the name of the URL parameter.

value
String

A string containing the value of the URL parameter.

Remarks

Both the name of the parameter and the URL value are encoded, and an equal sign (=) is inserted between them. Spaces in the name or value strings are encoded as plus signs (+), and equal signs (=) are encoded as %3d.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 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

See also