IFileProvider.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 file at the given path.
public:
Microsoft::Extensions::FileProviders::IFileInfo ^ GetFileInfo(System::String ^ subpath);
public Microsoft.Extensions.FileProviders.IFileInfo GetFileInfo (string subpath);
abstract member GetFileInfo : string -> Microsoft.Extensions.FileProviders.IFileInfo
Public Function GetFileInfo (subpath As String) As IFileInfo
Parameters
- subpath
- String
Relative path that identifies the file.
Returns
The file information. Caller must check Exists property.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.