Share via


NameValueCollectionValueProvider Constructor

Initializes a new instance of the NameValueCollectionValueProvider class.

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

Syntax

'Declaration
Public Sub New ( _
    collection As NameValueCollection, _
    culture As CultureInfo _
)
public NameValueCollectionValueProvider(
    NameValueCollection collection,
    CultureInfo culture
)
public:
NameValueCollectionValueProvider(
    NameValueCollection^ collection, 
    CultureInfo^ culture
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

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

See Also

Reference

NameValueCollectionValueProvider Class

System.Web.Mvc Namespace