FormCollection Constructor (NameValueCollection)
Collapse the table of content
Expand the table of content

FormCollection Constructor (NameValueCollection)

Initializes a new instance of the FormCollection class.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public FormCollection(
	NameValueCollection collection
)

Parameters

collection
Type: System.Collections.Specialized.NameValueCollection

The collection.

ExceptionCondition
ArgumentNullException

The collection parameter is null.

Show:
© 2016 Microsoft