FormCollection Constructor

 

Initializes a new instance of the FormCollection class.

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

NameDescription
System_CAPS_pubmethodFormCollection()

Initializes a new instance of the FormCollection class.

System_CAPS_pubmethodFormCollection(NameValueCollection)

Initializes a new instance of the FormCollection class.

Return to top

FormCollection Constructor ()

Initializes a new instance of the FormCollection class.

new : unit -> FormCollection
Return to top

FormCollection Constructor (NameValueCollection)

Initializes a new instance of the FormCollection class.

new : 
        collection:NameValueCollection -> FormCollection

Parameters

collection
Type: System.Collections.Specialized.NameValueCollection

The collection.

Exception Condition
ArgumentNullException

The collection parameter is null.

Return to top
Show: