Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ValueProviderFactoryCollection.SetItem Method (Int32, ValueProviderFactory)


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


Type: System.Int32

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

Type: System.Web.Mvc.ValueProviderFactory

The value-provider factory object to set.

Exception Condition

The item parameter is null.

Return to top
© 2015 Microsoft