ViewEngineCollection 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ViewEngineCollection() |
初始化 ViewEngineCollection 類別的新執行個體。 |
ViewEngineCollection(IList<IViewEngine>) |
使用指定的檢視引擎清單, ViewEngineCollection 初始化 類別的新實例。 |
ViewEngineCollection()
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。