ValueProviderDictionary.Add Method (KeyValuePair(String, ValueProviderResult))

Adds the specified item to the collection of value providers.

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

abstract Add : 
        item:KeyValuePair<string, ValueProviderResult> -> unit  
override Add : 
        item:KeyValuePair<string, ValueProviderResult> -> unit

Parameters

item
Type: System.Collections.Generic.KeyValuePair(String, ValueProviderResult)

The object to add to the ICollection(T) object.

Implements

ICollection(T).Add(T)

ExceptionCondition
NotSupportedException

The ICollection(T) object is read-only.

Show: