共用方式為


FileServerOptions.DefaultFilesOptions 屬性

定義

用以設定 DefaultFilesMiddleware 的選項。

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

屬性值

適用於