ModelBinderDictionary.Add Method (KeyValuePair<Type, IModelBinder>)
Visual Studio 2010
Adds the specified item to the model binder dictionary.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Parameters
- item
- Type: System.Collections.Generic.KeyValuePair<Type, IModelBinder>
The object to add to the ICollection<T> instance.
Implements
ICollection<T>.Add(T)| Exception | Condition |
|---|---|
| NotSupportedException | The ICollection<T> object is read-only. |
Community Additions
ADD
Show: