Export (0) Print
Expand All

FormCollection Class

Contains the form value providers for the application.

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

public sealed class FormCollection : NameValueCollection, 

The FormCollection type exposes the following members.

Public methodFormCollection()Initializes a new instance of the FormCollection class.
Public methodFormCollection(NameValueCollection)Initializes a new instance of the FormCollection class.

Public propertyAllKeys (Inherited from NameValueCollection.)
Public propertyCount (Inherited from NameObjectCollectionBase.)
Public propertyItem[String] (Inherited from NameValueCollection.)
Public propertyItem[Int32] (Inherited from NameValueCollection.)
Public propertyKeys (Inherited from NameObjectCollectionBase.)

Public methodAdd(NameValueCollection) (Inherited from NameValueCollection.)
Public methodAdd(String, String) (Inherited from NameValueCollection.)
Public methodClear (Inherited from NameValueCollection.)
Public methodCopyTo (Inherited from NameValueCollection.)
Public methodEquals (Inherited from Object.)
Public methodGet(String) (Inherited from NameValueCollection.)
Public methodGet(Int32) (Inherited from NameValueCollection.)
Public methodGetEnumerator (Inherited from NameObjectCollectionBase.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetKey (Inherited from NameValueCollection.)
Public methodGetObjectData (Inherited from NameObjectCollectionBase.)
Public methodGetType (Inherited from Object.)
Public methodGetValueGets the specified value provider.
Public methodGetValues(String) (Inherited from NameValueCollection.)
Public methodGetValues(Int32) (Inherited from NameValueCollection.)
Public methodHasKeys (Inherited from NameValueCollection.)
Public methodOnDeserialization (Inherited from NameObjectCollectionBase.)
Public methodRemove (Inherited from NameValueCollection.)
Public methodSet (Inherited from NameValueCollection.)
Public methodToString (Inherited from Object.)
Public methodToValueProviderReturns a dictionary that contains the value providers.

Public Extension MethodCopyTo(IDictionary<String, Object>)Overloaded. Copies the specified collection to the specified destination. (Defined by NameValueCollectionExtensions.)
Public Extension MethodCopyTo(IDictionary<String, Object>, Boolean)Overloaded. Copies the specified collection to the specified destination, and optionally replaces previous entries. (Defined by NameValueCollectionExtensions.)

Explicit interface implemetationPrivate methodICollection.CopyTo (Inherited from NameObjectCollectionBase.)
Explicit interface implemetationPrivate propertyICollection.IsSynchronized (Inherited from NameObjectCollectionBase.)
Explicit interface implemetationPrivate methodIValueProvider.ContainsPrefixGets a value that indicates whether the value provider contains an entry that has the specified prefix.
Explicit interface implemetationPrivate methodIValueProvider.GetValueGets a value from a value provider using the specified key.
Explicit interface implemetationPrivate propertyICollection.SyncRoot (Inherited from NameObjectCollectionBase.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft