UrlEncodedParameterWriter.Encode Method (TextWriter, 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 all the parameter values for a Web method and writes them to the specified writer.

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

protected void Encode(
	TextWriter writer,
	object[] values


Type: System.IO.TextWriter

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

Type: System.Object[]

The Web method parameter values.

This overload of the Encode method calls the other overload, Encode, for each of the parameter values, including individual items in arrays.

.NET Framework
Available since 1.1
Return to top