Dela via


PhysicalFileResultExecutor.GetFileInfo(String) Method

Definition

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.

Applies to