共用方式為


IHostingEnvironment.WebRootFileProvider 屬性

定義

取得或設定指向 WebRootPathIFileProvider

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

屬性值

適用於