共用方式為


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 基礎結構,不適合直接從您的程式代碼使用。

適用於