ViewEngineCollection.SetItem(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.
Replaces the element at the specified index.
protected override void SetItem(int index, System.Web.Mvc.IViewEngine item);
override this.SetItem : int * System.Web.Mvc.IViewEngine -> unit
Protected Overrides Sub SetItem (index As Integer, item As IViewEngine)
Parameters
- index
- Int32
The zero-based index of the element to replace.
- item
- IViewEngine
The new value for the element at the specified index.
Exceptions
index is less than zero.-or-index is greater than the number of items in the collection.
The item parameter is null.