共用方式為


DictionaryValueProvider<TValue> 建構函式

定義

初始化 DictionaryValueProvider<TValue> 類別的新執行個體。

public:
 DictionaryValueProvider(System::Collections::Generic::IDictionary<System::String ^, TValue> ^ dictionary, System::Globalization::CultureInfo ^ culture);
public DictionaryValueProvider (System.Collections.Generic.IDictionary<string,TValue> dictionary, System.Globalization.CultureInfo culture);
new System.Web.ModelBinding.DictionaryValueProvider<'Value> : System.Collections.Generic.IDictionary<string, 'Value> * System.Globalization.CultureInfo -> System.Web.ModelBinding.DictionaryValueProvider<'Value>
Public Sub New (dictionary As IDictionary(Of String, TValue), culture As CultureInfo)

參數

dictionary
IDictionary<String,TValue>

字典。

culture
CultureInfo

文化特性資訊。

例外狀況

dictionary 參數為 null

適用於