UrlEncodedParameterWriter.Encode Method (TextWriter, String, Object)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Use BaseTrue

Encodes a specified parameter value and writes it to the specified writer.

Namespace:   System.Web.Services.Protocols
Assembly:  System.Web.Services (in System.Web.Services.dll)

protected void Encode(
	TextWriter writer,
	string name,
	object value


Type: System.IO.TextWriter

A TextWriter object that does the writing to the HTTP request.

Type: System.String

The name of the parameter that will be encoded.

Type: System.Object

The value of the parameter that will be encoded.

The other signature of the Encode method, Encode, which is called for each Web method, calls this signature of the Encode method for each of the parameter values, including individual items in arrays.

.NET Framework
Available since 1.1
Return to top