ValueCollectionParameterReader.Read(NameValueCollection) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.