FormCollection Constructor (NameValueCollection)

Initializes a new instance of the FormCollection class.

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

Syntax

'Declaration
Public Sub New ( _
    collection As NameValueCollection _
)
public FormCollection(
    NameValueCollection collection
)
public:
FormCollection(
    NameValueCollection^ collection
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

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

See Also

Reference

FormCollection Class

FormCollection Overload

System.Web.Mvc Namespace