NullFileProvider.GetFileInfo(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Locate a non-existent file.
public:
virtual Microsoft::Extensions::FileProviders::IFileInfo ^ GetFileInfo(System::String ^ subpath);
public Microsoft.Extensions.FileProviders.IFileInfo GetFileInfo (string subpath);
abstract member GetFileInfo : string -> Microsoft.Extensions.FileProviders.IFileInfo
override this.GetFileInfo : string -> Microsoft.Extensions.FileProviders.IFileInfo
Public Function GetFileInfo (subpath As String) As IFileInfo
Parameters
- subpath
- String
A path under the root directory.
Returns
A IFileInfo representing a non-existent file at the given path.
Implements
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.