MvcRazorRuntimeCompilationOptions.AdditionalReferencePaths 屬性

定義

取得 Razor 檔案執行時間編譯期間所使用之其他參考的路徑。

public:
 property System::Collections::Generic::IList<System::String ^> ^ AdditionalReferencePaths { System::Collections::Generic::IList<System::String ^> ^ get(); };
public System.Collections.Generic.IList<string> AdditionalReferencePaths { get; }
member this.AdditionalReferencePaths : System.Collections.Generic.IList<string>
Public ReadOnly Property AdditionalReferencePaths As IList(Of String)

屬性值

備註

根據預設,收集參考的執行時間編譯器 ICompilationReferencesProvider 會使用 編譯 Razor 檔案。 此 API 允許提供編譯器的其他參考。

適用於