ValueProviderFactoryCollection.SetItem Method

Visual Studio 2010

Sets the specified value-provider factory object at the given index location.

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

protected override void SetItem(
	int index,
	ValueProviderFactory 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.Mvc.ValueProviderFactory
The value-provider factory object to set.

ExceptionCondition
[ArgumentNullException]

The item parameter is null.

Community Additions

ADD
Show: