共用方式為


IHostEnvironment.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

屬性值

適用於