This topic has not yet been rated - Rate this topic

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)
public NameValueCollectionValueProvider(
	NameValueCollection collection,
	CultureInfo 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 null.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.