RazorViewEngineOptions.CompilationOptions 属性

定义

获取或设置 CSharpCompilationOptions Razor 视图编译使用的 。

public:
 property Microsoft::CodeAnalysis::CSharp::CSharpCompilationOptions ^ CompilationOptions { Microsoft::CodeAnalysis::CSharp::CSharpCompilationOptions ^ get(); void set(Microsoft::CodeAnalysis::CSharp::CSharpCompilationOptions ^ value); };
public Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions CompilationOptions { get; set; }
member this.CompilationOptions : Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions with get, set
Public Property CompilationOptions As CSharpCompilationOptions

属性值

适用于