ValueProviderCollection.InsertItem Method (Int32, IValueProvider)

.NET Framework (current version)
 

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

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

protected override void InsertItem(
	int index,
	IValueProvider item
)

Parameters

index
Type: System.Int32

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

item
Type: System.Web.ModelBinding.IValueProvider

The value provider object to insert.

Exception Condition
ArgumentNullException

The item parameter is null.

.NET Framework
Available since 4.5
Return to top
Show: