ValueProviderCollection.InsertItem Method (Int32, IValueProvider)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: