FormValueProvider Class

 

Represents a value provider for form values that are contained in a NameValueCollection object.

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

Inheritance Hierarchy

System.Object
  System.Web.Mvc.NameValueCollectionValueProvider
    System.Web.Mvc.FormValueProvider

Syntax

public sealed class FormValueProvider : NameValueCollectionValueProvider
public ref class FormValueProvider sealed : NameValueCollectionValueProvider
[<Sealed>]
type FormValueProvider = 
    class
        inherit NameValueCollectionValueProvider
    end
Public NotInheritable Class FormValueProvider
    Inherits NameValueCollectionValueProvider

Constructors

Name Description
System_CAPS_pubmethod FormValueProvider(ControllerContext)

Initializes a new instance of the FormValueProvider class.

Methods

Name Description
System_CAPS_pubmethod ContainsPrefix(String)

Determines whether the collection contains the specified prefix.(Inherited from NameValueCollectionValueProvider.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetKeysFromPrefix(String)

Gets the keys using the specified prefix.(Inherited from NameValueCollectionValueProvider.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod GetValue(String)

Returns a value object using the specified key.(Inherited from NameValueCollectionValueProvider.)

System_CAPS_pubmethod GetValue(String, Boolean)

Returns a value object using the specified key and validation directive.(Inherited from NameValueCollectionValueProvider.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

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

See Also

System.Web.Mvc Namespace

Return to top