DictionaryModelBinder<TKey, TValue> Class

 

Maps a browser request to a dictionary data object.

Namespace:   Microsoft.Web.Mvc.ModelBinding
Assembly:  Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)

System.Object
  Microsoft.Web.Mvc.ModelBinding.CollectionModelBinder<TElement>
    Microsoft.Web.Mvc.ModelBinding.DictionaryModelBinder<TKey, TValue>

public class DictionaryModelBinder<TKey, TValue> : CollectionModelBinder<KeyValuePair<TKey, TValue>>

Type Parameters

TKey

The type of the key.

TValue

The type of the value.

NameDescription
System_CAPS_pubmethodDictionaryModelBinder<TKey, TValue>()

Initializes a new instance of the DictionaryModelBinder<TKey, TValue> class.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: