DictionaryValueProvider(Of TValue) Constructor

Visual Studio 2010

Initializes a new instance of the DictionaryValueProvider(Of TValue) class.

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

'Declaration
Public Sub New ( _
	dictionary As IDictionary(Of String, TValue), _
	culture As CultureInfo _
)

Parameters

dictionary
Type: System.Collections.Generic.IDictionary(Of String, TValue)
The name/value pairs that are used to initialize the value provider.
culture
Type: System.Globalization.CultureInfo
Information about a specific culture, such as the names of the culture, the writing system, and the calendar used.

ExceptionCondition
ArgumentNullException

The dictionary parameter is Nothing.

Community Additions

ADD
Show: