DirectoryBrowserOptions 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
DirectoryBrowserOptions() |
为所有请求路径启用目录浏览 |
DirectoryBrowserOptions(SharedOptions) |
已启用目录浏览所有请求路径 |
DirectoryBrowserOptions()
- Source:
- DirectoryBrowserOptions.cs
- Source:
- DirectoryBrowserOptions.cs
- Source:
- DirectoryBrowserOptions.cs
为所有请求路径启用目录浏览
public:
DirectoryBrowserOptions();
public DirectoryBrowserOptions ();
Public Sub New ()
适用于
DirectoryBrowserOptions(SharedOptions)
- Source:
- DirectoryBrowserOptions.cs
- Source:
- DirectoryBrowserOptions.cs
- Source:
- DirectoryBrowserOptions.cs
已启用目录浏览所有请求路径
public:
DirectoryBrowserOptions(Microsoft::AspNetCore::StaticFiles::Infrastructure::SharedOptions ^ sharedOptions);
public DirectoryBrowserOptions (Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptions sharedOptions);
new Microsoft.AspNetCore.Builder.DirectoryBrowserOptions : Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptions -> Microsoft.AspNetCore.Builder.DirectoryBrowserOptions
Public Sub New (sharedOptions As SharedOptions)
参数
- sharedOptions
- SharedOptions