ValueProviderFactoryCollection.SetItem Method (Int32, ValueProviderFactory)
Sets the specified value-provider factory object at the given index location.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Parameters
- index
-
Type:
System.Int32
The zero-based index location at which to insert the value provider into the collection.
- item
-
Type:
System.Web.Mvc.ValueProviderFactory
The value-provider factory object to set.
| Exception | Condition |
|---|---|
| [ArgumentNullException] | The item parameter is null. |
Show: