XhtmlMobileTextWriter.WriteUrlParameter Method (String, String)


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 the www.asp.net/mobile Web site.

Namespace:   System.Web.UI.MobileControls.Adapters.XhtmlAdapters
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

public virtual void WriteUrlParameter(
	string name,
	string value


Type: System.String

A string containing the name of the URL parameter.

Type: System.String

A string containing the value of the URL parameter.

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.

.NET Framework
Available since 2.0
Return to top