NameValueCollectionValueProvider Constructor (NameValueCollection, CultureInfo)

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 _
)
'Usage
Dim collection As NameValueCollection 
Dim culture As CultureInfo 

Dim instance As New NameValueCollectionValueProvider(collection, _
    culture)
public NameValueCollectionValueProvider(
    NameValueCollection collection,
    CultureInfo culture
)
public:
NameValueCollectionValueProvider(
    NameValueCollection^ collection, 
    CultureInfo^ culture
)
new : 
        collection:NameValueCollection * 
        culture:CultureInfo -> NameValueCollectionValueProvider
public function NameValueCollectionValueProvider(
    collection : NameValueCollection, 
    culture : CultureInfo
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

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

See Also

Reference

NameValueCollectionValueProvider Class

NameValueCollectionValueProvider Overload

System.Web.Mvc Namespace