FormCollection FormCollection FormCollection Class

Definition

Contains the form value providers for the application.

public sealed class FormCollection : System.Collections.Specialized.NameValueCollection, System.Web.Mvc.IValueProvider
type FormCollection = class
    inherit NameValueCollection
    interface IValueProvider
Public NotInheritable Class FormCollection
Inherits NameValueCollection
Implements IValueProvider
Inheritance
FormCollectionFormCollectionFormCollection
Implements

Constructors

FormCollection() FormCollection() FormCollection()

Initializes a new instance of the FormCollection class.

FormCollection(NameValueCollection) FormCollection(NameValueCollection) FormCollection(NameValueCollection)

Initializes a new instance of the FormCollection class.

Methods

GetValue(String) GetValue(String) GetValue(String)

Gets the specified value provider.

ToValueProvider() ToValueProvider() ToValueProvider()

Returns a dictionary that contains the value providers.

Explicit Interface Implementations

IValueProvider.ContainsPrefix(String) IValueProvider.ContainsPrefix(String) IValueProvider.ContainsPrefix(String)

Gets a value that indicates whether the value provider contains an entry that has the specified prefix.

IValueProvider.GetValue(String) IValueProvider.GetValue(String) IValueProvider.GetValue(String)

Gets a value from a value provider using the specified key.

Extension Methods

CopyTo(NameValueCollection, IDictionary<String,Object>) CopyTo(NameValueCollection, IDictionary<String,Object>) CopyTo(NameValueCollection, IDictionary<String,Object>)

Copies the specified collection to the specified destination.

CopyTo(NameValueCollection, IDictionary<String,Object>, Boolean) CopyTo(NameValueCollection, IDictionary<String,Object>, Boolean) CopyTo(NameValueCollection, IDictionary<String,Object>, Boolean)

Copies the specified collection to the specified destination, and optionally replaces previous entries.

Applies to