FormCollection Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
FormCollection() |
Initializes a new instance of the FormCollection class. |
FormCollection(NameValueCollection) |
Initializes a new instance of the FormCollection class. |
FormCollection()
Initializes a new instance of the FormCollection class.
public FormCollection ();
Public Sub New ()
Applies to
FormCollection(NameValueCollection)
Initializes a new instance of the FormCollection class.
public FormCollection (System.Collections.Specialized.NameValueCollection collection);
new System.Web.Mvc.FormCollection : System.Collections.Specialized.NameValueCollection -> System.Web.Mvc.FormCollection
Public Sub New (collection As NameValueCollection)
Parameters
- collection
- NameValueCollection
The collection.
Exceptions
The collection
parameter is null.