System.Web.Services.Protocols.UrlEncodedParameterWriter.Encode Method

Encodes all the parameter values for a Web method and writes them to the specified writer.

Syntax

protected void Encode (System.IO.TextWriter writer, object[] values)

Parameters

writer
A System.IO.TextWriter object that does the writing to the HTTP request.
values
The Web method parameter values.

Remarks

This overload of the UrlEncodedParameterWriter.Encode(System.IO.TextWriter, Object[]) method calls the other overload, UrlEncodedParameterWriter.Encode(System.IO.TextWriter, string, object), for each of the parameter values, including individual items in arrays.

Requirements

Namespace: System.Web.Services.Protocols
Assembly: System.Web.Services (in System.Web.Services.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0