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
FormCollection
Implements

Constructors

FormCollection()

Initializes a new instance of the FormCollection class.

FormCollection(NameValueCollection)

Initializes a new instance of the FormCollection class.

Methods

GetValue(String)

Gets the specified value provider.

ToValueProvider()

Returns a dictionary that contains the value providers.

Explicit Interface Implementations

IValueProvider.ContainsPrefix(String)

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

IValueProvider.GetValue(String)

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

Applies to