DictionaryValueProvider<TValue> Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DictionaryValueProvider<TValue> class.
public DictionaryValueProvider (System.Collections.Generic.IDictionary<string,TValue> dictionary, System.Globalization.CultureInfo culture);
new System.Web.Mvc.DictionaryValueProvider<'Value> : System.Collections.Generic.IDictionary<string, 'Value> * System.Globalization.CultureInfo -> System.Web.Mvc.DictionaryValueProvider<'Value>
Public Sub New (dictionary As IDictionary(Of String, TValue), culture As CultureInfo)
Parameters
- dictionary
- IDictionary<String,TValue>
The name/value pairs that are used to initialize the value provider.
- culture
- CultureInfo
Information about a specific culture, such as the names of the culture, the writing system, and the calendar used.
Exceptions
The dictionary
parameter is null.