ValueProviderFactoryCollection.InsertItem Method

Inserts the specified value-provider factory object at the specified index location.

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

abstract InsertItem : 
        index:int * 
        item:ValueProviderFactory -> unit  
override InsertItem : 
        index:int * 
        item:ValueProviderFactory -> unit

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 insert.

ExceptionCondition
[ArgumentNullException]

The item parameter is a null reference (Nothing in Visual Basic).

Show: