Redigera

Dela via


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.

public:
 virtual void WriteUrlParameter(System::String ^ name, System::String ^ value);
public virtual void WriteUrlParameter (string name, string value);
abstract member WriteUrlParameter : string * string -> unit
override this.WriteUrlParameter : string * string -> unit
Public Overridable Sub WriteUrlParameter (name As String, value As String)

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

See also