Export (0) Print
Expand All

ViewEngineCollection.InsertItem Method

.NET Framework 4

Inserts an element into the collection at the specified index.

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

protected override void InsertItem(
	int index,
	IViewEngine item
)

Parameters

index
Type: System.Int32
The zero-based index at which item should be inserted.
item
Type: System.Web.Mvc.IViewEngine
The object to insert.

ExceptionCondition
ArgumentOutOfRangeException

index is less than zero.

-or-

index is greater than the number of items in the collection.

ArgumentNullException

The item parameter is null.

Community Additions

ADD
Show:
© 2015 Microsoft