Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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)

'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)

Parameters

collection
Type: System.Collections.Specialized.NameValueCollection

A collection that contains the values that are used to initialize the provider.

culture
Type: System.Globalization.CultureInfo

An object that contains information about the target culture.

ExceptionCondition
ArgumentNullException

The collection parameter is Nothing.

Show:
© 2015 Microsoft