ValueCollectionParameterReader.Read(NameValueCollection) 方法

定义

将名称/值对的集合转换为表示方法参数值的对象的数组。

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()

参数

collection
NameValueCollection

一个 NameValueCollection 对象,指定包含方法参数名称和值的名称/值对的集合。

返回

Object[]

表示方法参数值的对象的数组 Object

注解

该方法Read由派Read生自ValueCollectionParameterReaderUrlParameterReaderHtmlFormParameterReader的两个类中定义的方法调用。 这两个类 Read 的方法采用参数 HttpRequest

适用于