Share via


FormCollection Constructors

Definition

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.

Applies to