Export (0) Print
Expand All

ViewEngineCollection Class

Represents a collection of view engines that are available to the application.

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

public class ViewEngineCollection : Collection<IViewEngine>

The ViewEngineCollection type exposes the following members.

Public methodViewEngineCollection()Initializes a new instance of the ViewEngineCollection class.
Public methodViewEngineCollection(IList<IViewEngine>)Initializes a new instance of the ViewEngineCollection class using the specified list of view engines.

Public propertyCount (Inherited from Collection<IViewEngine>.)
Public propertyItem (Inherited from Collection<IViewEngine>.)
Protected propertyItems (Inherited from Collection<IViewEngine>.)

Public methodAdd (Inherited from Collection<IViewEngine>.)
Public methodClear (Inherited from Collection<IViewEngine>.)
Protected methodClearItemsRemoves all elements from the Collection<T>. (Overrides Collection<T>.ClearItems().)
Public methodContains (Inherited from Collection<IViewEngine>.)
Public methodCopyTo (Inherited from Collection<IViewEngine>.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodFindPartialViewFinds the specified partial view by using the specified controller context.
Public methodFindViewFinds the specified view by using the specified controller context and master view.
Public methodGetEnumerator (Inherited from Collection<IViewEngine>.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodIndexOf (Inherited from Collection<IViewEngine>.)
Public methodInsert (Inherited from Collection<IViewEngine>.)
Protected methodInsertItemInserts an element into the collection at the specified index. (Overrides Collection<T>.InsertItem(Int32, T).)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemove (Inherited from Collection<IViewEngine>.)
Public methodRemoveAt (Inherited from Collection<IViewEngine>.)
Protected methodRemoveItemRemoves the element at the specified index of the Collection<T>. (Overrides Collection<T>.RemoveItem(Int32).)
Protected methodSetItemReplaces the element at the specified index. (Overrides Collection<T>.SetItem(Int32, T).)
Public methodToString (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2014 Microsoft