ViewEngineCollection.InsertItem(Int32, IViewEngine) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Inserts an element into the collection at the specified index.
protected override void InsertItem (int index, System.Web.Mvc.IViewEngine item);
override this.InsertItem : int * System.Web.Mvc.IViewEngine -> unit
Protected Overrides Sub InsertItem (index As Integer, item As IViewEngine)
Parameters
- index
- Int32
The zero-based index at which item should be inserted.
- item
- IViewEngine
The object to insert.
Exceptions
index
is less than zero.-or-index
is greater than the number of items in the collection.
The item
parameter is null.