ValueProviderCollection.SetItem Method
Visual Studio 2010
Replaces the value provider at the specified index location with a new value provider.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
'Declaration Protected Overrides Sub SetItem ( _ index As Integer, _ item As IValueProvider _ )
Parameters
- index
- Type: System.Int32
The zero-based index of the element to replace.
- item
- Type: System.Web.Mvc.IValueProvider
The new value for the element at the specified index.
| Exception | Condition |
|---|---|
| ArgumentNullException | The item parameter is Nothing. |
Community Additions
ADD
Show: