ValueProviderDictionary.Add Method (KeyValuePair(Of 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)

'Declaration
Public Sub Add ( _
	item As KeyValuePair(Of String, ValueProviderResult) _
)
'Usage
Dim instance As ValueProviderDictionary 
Dim item As KeyValuePair(Of String, ValueProviderResult)

instance.Add(item)

Parameters

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

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

Implements

ICollection(Of T).Add(T)

ExceptionCondition
NotSupportedException

The ICollection(Of T) object is read-only.

Show: