HostingEnvironment.ContentRootFileProvider 属性

定义

获取或设置指向 ContentRootPathIFileProvider

public:
 property Microsoft::Extensions::FileProviders::IFileProvider ^ ContentRootFileProvider { Microsoft::Extensions::FileProviders::IFileProvider ^ get(); void set(Microsoft::Extensions::FileProviders::IFileProvider ^ value); };
public Microsoft.Extensions.FileProviders.IFileProvider ContentRootFileProvider { get; set; }
member this.ContentRootFileProvider : Microsoft.Extensions.FileProviders.IFileProvider with get, set
Public Property ContentRootFileProvider As IFileProvider

属性值

实现

注解

此 API 支持 .NET 基础结构,不应直接从代码中使用。

适用于