共用方式為


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

屬性值

適用於