共用方式為


ViewEngineCollection 建構函式

定義

多載

ViewEngineCollection()

初始化 ViewEngineCollection 類別的新執行個體。

ViewEngineCollection(IList<IViewEngine>)

使用指定的檢視引擎清單, ViewEngineCollection 初始化 類別的新實例。

ViewEngineCollection()

初始化 ViewEngineCollection 類別的新執行個體。

public ViewEngineCollection ();
Public Sub New ()

適用於

ViewEngineCollection(IList<IViewEngine>)

使用指定的檢視引擎清單, ViewEngineCollection 初始化 類別的新實例。

public ViewEngineCollection (System.Collections.Generic.IList<System.Web.Mvc.IViewEngine> list);
new System.Web.Mvc.ViewEngineCollection : System.Collections.Generic.IList<System.Web.Mvc.IViewEngine> -> System.Web.Mvc.ViewEngineCollection
Public Sub New (list As IList(Of IViewEngine))

參數

list
IList<IViewEngine>

由新的集合所包裝的清單。

例外狀況

list 為 null。

適用於