Partager via


CompositeValueProvider.InsertItem Method

Inserts an element into the collection at the specified index.

Namespace:  System.Web.Http.ValueProviders.Providers
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Protected Overrides Sub InsertItem ( _
    index As Integer, _
    item As IValueProvider _
)
'Usage
Dim index As Integer
Dim item As IValueProvider

Me.InsertItem(index, item)
protected override void InsertItem(
    int index,
    IValueProvider item
)
protected:
virtual void InsertItem(
    int index, 
    IValueProvider^ item
) override
abstract InsertItem : 
        index:int * 
        item:IValueProvider -> unit 
override InsertItem : 
        index:int * 
        item:IValueProvider -> unit 
protected override function InsertItem(
    index : int, 
    item : IValueProvider
)

Parameters

  • index
    Type: System.Int32
    The zero-based index at which item should be inserted.

See Also

Reference

CompositeValueProvider Class

System.Web.Http.ValueProviders.Providers Namespace