ViewEngineCollection::ClearItems Method ()
Removes all elements from the Collection<T>.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
T:System.Collections.ObjectModel.Count is set to zero, and references to other objects from elements of the collection are also released.
This method is an O(n) operation, where n is T:System.Collections.ObjectModel.Count.
Show: