Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 by 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 methodClearItems (Inherited from Collection<IViewEngine>.)
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 methodRemoveItem (Inherited from Collection<IViewEngine>.)
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.
© 2017 Microsoft