FormCollection Constructor (NameValueCollection)

Initializes a new instance of the FormCollection class.

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

new : 
        collection:NameValueCollection -> FormCollection

Parameters

collection
Type: System.Collections.Specialized.NameValueCollection

The collection.

ExceptionCondition
ArgumentNullException

The collection parameter is a null reference (Nothing in Visual Basic).

Show: