共用方式為


FileServerOptions.StaticFileOptions 屬性

定義

用以設定 StaticFileMiddleware 的選項。

public:
 property Microsoft::AspNetCore::Builder::StaticFileOptions ^ StaticFileOptions { Microsoft::AspNetCore::Builder::StaticFileOptions ^ get(); };
public Microsoft.AspNetCore.Builder.StaticFileOptions StaticFileOptions { get; }
member this.StaticFileOptions : Microsoft.AspNetCore.Builder.StaticFileOptions
Public ReadOnly Property StaticFileOptions As StaticFileOptions

屬性值

適用於