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, 
	IValueProvider

The FormCollection type exposes the following members.

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

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

  NameDescription
Public methodAdd(NameValueCollection) (Inherited from NameValueCollection.)
Public methodAdd(String, String) (Inherited from NameValueCollection.)
Protected methodBaseAdd (Inherited from NameObjectCollectionBase.)
Protected methodBaseClear (Inherited from NameObjectCollectionBase.)
Protected methodBaseGet(String) (Inherited from NameObjectCollectionBase.)
Protected methodBaseGet(Int32) (Inherited from NameObjectCollectionBase.)
Protected methodBaseGetAllKeys (Inherited from NameObjectCollectionBase.)
Protected methodBaseGetAllValues() (Inherited from NameObjectCollectionBase.)
Protected methodBaseGetAllValues(Type) (Inherited from NameObjectCollectionBase.)
Protected methodBaseGetKey (Inherited from NameObjectCollectionBase.)
Protected methodBaseHasKeys (Inherited from NameObjectCollectionBase.)
Protected methodBaseRemove (Inherited from NameObjectCollectionBase.)
Protected methodBaseRemoveAt (Inherited from NameObjectCollectionBase.)
Protected methodBaseSet(String, Object) (Inherited from NameObjectCollectionBase.)
Protected methodBaseSet(Int32, Object) (Inherited from NameObjectCollectionBase.)
Public methodClear (Inherited from NameValueCollection.)
Public methodCopyTo (Inherited from NameValueCollection.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (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.)
Protected methodInvalidateCachedArrays (Inherited from NameValueCollection.)
Protected methodMemberwiseClone (Inherited from Object.)
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.
Top

  NameDescription
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.)
Top

  NameDescription
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.)
Top

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