ViewEngineCollection Class

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

Inheritance Hierarchy

System.Object
  System.Collections.ObjectModel.Collection<IViewEngine>
    System.Web.Mvc.ViewEngineCollection

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

Syntax

'Declaration
Public Class ViewEngineCollection _
    Inherits Collection(Of IViewEngine)
'Usage
Dim instance As ViewEngineCollection
public class ViewEngineCollection : Collection<IViewEngine>
public ref class ViewEngineCollection : public Collection<IViewEngine^>
type ViewEngineCollection =  
    class 
        inherit Collection<IViewEngine>
    end
public class ViewEngineCollection extends Collection<IViewEngine>

The ViewEngineCollection type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property Count (Inherited from Collection<IViewEngine>.)
Public property Item (Inherited from Collection<IViewEngine>.)
Protected property Items (Inherited from Collection<IViewEngine>.)

Top

Methods

  Name Description
Public method Add (Inherited from Collection<IViewEngine>.)
Public method Clear (Inherited from Collection<IViewEngine>.)
Protected method ClearItems (Inherited from Collection<IViewEngine>.)
Public method Contains (Inherited from Collection<IViewEngine>.)
Public method CopyTo (Inherited from Collection<IViewEngine>.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FindPartialView Finds the specified partial view by using the specified controller context.
Public method FindView Finds the specified view by using the specified controller context and master view.
Public method GetEnumerator (Inherited from Collection<IViewEngine>.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method IndexOf (Inherited from Collection<IViewEngine>.)
Public method Insert (Inherited from Collection<IViewEngine>.)
Protected method InsertItem Inserts an element into the collection at the specified index. (Overrides Collection<T>.InsertItem(Int32, T).)
Protected method MemberwiseClone (Inherited from Object.)
Public method Remove (Inherited from Collection<IViewEngine>.)
Public method RemoveAt (Inherited from Collection<IViewEngine>.)
Protected method RemoveItem (Inherited from Collection<IViewEngine>.)
Protected method SetItem Replaces the element at the specified index. (Overrides Collection<T>.SetItem(Int32, T).)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IList.Add (Inherited from Collection<IViewEngine>.)
Explicit interface implemetationPrivate method IList.Contains (Inherited from Collection<IViewEngine>.)
Explicit interface implemetationPrivate method ICollection.CopyTo (Inherited from Collection<IViewEngine>.)
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator (Inherited from Collection<IViewEngine>.)
Explicit interface implemetationPrivate method IList.IndexOf (Inherited from Collection<IViewEngine>.)
Explicit interface implemetationPrivate method IList.Insert (Inherited from Collection<IViewEngine>.)
Explicit interface implemetationPrivate property IList.IsFixedSize (Inherited from Collection<IViewEngine>.)
Explicit interface implemetationPrivate property ICollection<T>.IsReadOnly (Inherited from Collection<IViewEngine>.)
Explicit interface implemetationPrivate property IList.IsReadOnly (Inherited from Collection<IViewEngine>.)
Explicit interface implemetationPrivate property ICollection.IsSynchronized (Inherited from Collection<IViewEngine>.)
Explicit interface implemetationPrivate property IList.Item (Inherited from Collection<IViewEngine>.)
Explicit interface implemetationPrivate method IList.Remove (Inherited from Collection<IViewEngine>.)
Explicit interface implemetationPrivate property ICollection.SyncRoot (Inherited from Collection<IViewEngine>.)

Top

Thread Safety

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

See Also

Reference

System.Web.Mvc Namespace