共用方式為


ViewEngineResult.ViewEngine Property

Gets or sets the view engine.

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

Syntax

'Declaration
Public Property ViewEngine As IViewEngine
    Get
    Private Set
public IViewEngine ViewEngine { get; private set; }
public:
property IViewEngine^ ViewEngine {
    IViewEngine^ get ();
    private: void set (IViewEngine^ value);
}

Property Value

Type: System.Web.Mvc.IViewEngine
The view engine.

See Also

Reference

ViewEngineResult Class

System.Web.Mvc Namespace