PhysicalFileResultExecutor.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.
Get the file metadata for a path.
protected:
virtual Microsoft::AspNetCore::Mvc::Infrastructure::PhysicalFileResultExecutor::FileMetadata ^ GetFileInfo(System::String ^ path);
protected virtual Microsoft.AspNetCore.Mvc.Infrastructure.PhysicalFileResultExecutor.FileMetadata GetFileInfo (string path);
abstract member GetFileInfo : string -> Microsoft.AspNetCore.Mvc.Infrastructure.PhysicalFileResultExecutor.FileMetadata
override this.GetFileInfo : string -> Microsoft.AspNetCore.Mvc.Infrastructure.PhysicalFileResultExecutor.FileMetadata
Protected Overridable Function GetFileInfo (path As String) As PhysicalFileResultExecutor.FileMetadata
Parameters
- path
- String
The file path.
Returns
The PhysicalFileResultExecutor.FileMetadata for the path.