Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

UrlEncodedParameterWriter.Encode Method (TextWriter, Object[])

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft