Compartilhar via


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)

Syntax

'Declaration
Protected Overrides Sub InsertItem ( _
    index As Integer, _
    item As ValueProviderFactory _
)
protected override void InsertItem(
    int index,
    ValueProviderFactory item
)
protected:
virtual void InsertItem(
    int index, 
    ValueProviderFactory^ item
) override

Parameters

  • index
    Type: System.Int32
    The zero-based index location at which to insert the value provider into the collection.

Exceptions

Exception Condition
[ArgumentNullException]

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

See Also

Reference

ValueProviderFactoryCollection Class

System.Web.Mvc Namespace