Export (0) Print
Expand All

ModelBinderDictionary.Add Method (KeyValuePair<Type, IModelBinder>)

Adds the specified item to the model binder dictionary.

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

public void Add(
	KeyValuePair<Type, IModelBinder> item
)

Parameters

item
Type: System.Collections.Generic.KeyValuePair<Type, IModelBinder>
The object to add to the ICollection<T> instance.

Implements

ICollection<T>.Add(T)

ExceptionCondition
NotSupportedException

The ICollection<T> object is read-only.

Show:
© 2014 Microsoft