Editar

Compartilhar via


ValueCollectionParameterReader.Read(NameValueCollection) Method

Definition

Translates a collection of name/value pairs into an array of objects representing method parameter values.

protected:
 cli::array <System::Object ^> ^ Read(System::Collections::Specialized::NameValueCollection ^ collection);
protected object[] Read (System.Collections.Specialized.NameValueCollection collection);
override this.Read : System.Collections.Specialized.NameValueCollection -> obj[]
Protected Function Read (collection As NameValueCollection) As Object()

Parameters

collection
NameValueCollection

A NameValueCollection object that specifies the collection of name/value pairs containing method parameter names and values.

Returns

Object[]

An array of Object objects representing method parameter values.

Remarks

The Read method is called by the Read method defined in the two classes derived from ValueCollectionParameterReader, UrlParameterReader and HtmlFormParameterReader. Those two classes' Read methods take an HttpRequest parameter.

Applies to