SpaStaticFilesOptions.RootPath プロパティ

定義

物理ファイルが配置されているディレクトリのアプリケーション ルートに対する相対パスを取得または設定します。

指定したディレクトリが存在しない場合、 UseSpaStaticFiles(IApplicationBuilder) ミドルウェアは静的ファイルを提供しません。

public:
 property System::String ^ RootPath { System::String ^ get(); void set(System::String ^ value); };
public string RootPath { get; set; }
member this.RootPath : string with get, set
Public Property RootPath As String

プロパティ値

適用対象