ValueProviderFactoryCollection.SetItem(Int32, ValueProviderFactory) Method

Definition

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

protected override void SetItem (int index, System.Web.Mvc.ValueProviderFactory item);
override this.SetItem : int * System.Web.Mvc.ValueProviderFactory -> unit
Protected Overrides Sub SetItem (index As Integer, item As ValueProviderFactory)

Parameters

index
Int32

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

item
ValueProviderFactory

The value-provider factory object to set.

Exceptions

[ArgumentNullException]

The item parameter is null.

Applies to