Redigera

Dela via


ValueProviderCollection.InsertItem(Int32, IValueProvider) Method

Definition

Inserts the specified value provider object into the collection at the specified index location.

protected:
 override void InsertItem(int index, System::Web::ModelBinding::IValueProvider ^ item);
protected override void InsertItem (int index, System.Web.ModelBinding.IValueProvider item);
override this.InsertItem : int * System.Web.ModelBinding.IValueProvider -> unit
Protected Overrides Sub InsertItem (index As Integer, item As IValueProvider)

Parameters

index
Int32

The zero-based index location at which to insert the value provider into the collection.

item
IValueProvider

The value provider object to insert.

Exceptions

The item parameter is null.

Applies to