Udostępnij za pośrednictwem


FormValueProviderFactory.GetValueProvider Method

Returns a form-value provider object for the specified controller context.

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

Syntax

'Declaration
Public Overrides Function GetValueProvider ( _
    controllerContext As ControllerContext _
) As IValueProvider
public override IValueProvider GetValueProvider(
    ControllerContext controllerContext
)
public:
virtual IValueProvider^ GetValueProvider(
    ControllerContext^ controllerContext
) override

Parameters

Return Value

Type: System.Web.Mvc.IValueProvider
A form-value provider object.

Exceptions

Exception Condition
ArgumentNullException

The controllerContext parameter is null reference (Nothing in Visual Basic).

See Also

Reference

FormValueProviderFactory Class

System.Web.Mvc Namespace