ViewEngineCollection::RemoveItem Method (Int32)
Removes the element at the specified index of the Collection<T>.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Parameters
- index
-
Type:
System::Int32
The zero-based index of the element to remove.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | index is less than zero. -or- index is equal to or greater than T:System.Collections.ObjectModel.Collection`1.Count |
This method is an O(n) operation, where n is. T:System.Collections.ObjectModel.Collection`1.Count
Show: