HttpFileCollectionValueProviderFactory::GetValueProvider Method

Returns a value provider object for the specified controller context.

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

public:
virtual IValueProvider^ GetValueProvider(
	ControllerContext^ controllerContext
) override

Parameters

controllerContext
Type: System.Web.Mvc::ControllerContext

An object that encapsulates information about the HTTP request.

Return Value

Type: System.Web.Mvc::IValueProvider
An HTTP file collection value provider.

ExceptionCondition
ArgumentNullException

The controllerContext parameter is nullptr.

Show: