NameValueCollectionValueProvider Constructor

 

NameValueCollectionValueProvider Constructor (NameValueCollection, CultureInfo)

Initializes a new instance of the NameValueCollectionValueProvider class.

No code example is currently available or this language may not be supported.

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.

Exception Condition
ArgumentNullException

The collection parameter is null.

Return to top

NameValueCollectionValueProvider Constructor (NameValueCollection, NameValueCollection, CultureInfo)

Initializes a new instance of the NameValueCollectionValueProvider class using the specified unvalidated collection.

No code example is currently available or this language may not be supported.

Parameters

collection
Type: System.Collections.Specialized.NameValueCollection

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

unvalidatedCollection
Type: System.Collections.Specialized.NameValueCollection

A collection that contains the values that are used to initialize the provider. This collection will not be validated.

culture
Type: System.Globalization.CultureInfo

An object that contains information about the target culture.

Return to top

NameValueCollectionValueProvider Constructor (NameValueCollection, NameValueCollection, CultureInfo, Boolean)

Initializes Name Value collection provider.

No code example is currently available or this language may not be supported.

Parameters

collection
Type: System.Collections.Specialized.NameValueCollection

Key value collection from request.

unvalidatedCollection
Type: System.Collections.Specialized.NameValueCollection

Unvalidated key value collection from the request.

culture
Type: System.Globalization.CultureInfo

Culture with which the values are to be used.

jQueryToMvcRequestNormalizationRequired
Type: System.Boolean

jQuery POST when sending complex Javascript objects to server does not encode in the way understandable by MVC. This flag should be set if the request should be normalized to MVC form - https://aspnetwebstack.codeplex.com/workitem/1564.

Return to top
Show: