PhysicalFileResultExecutor.GetFileInfo(String) 方法

定义

获取路径的文件元数据。

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

参数

path
String

文件路径。

返回

PhysicalFileResultExecutor.FileMetadata路径的 。

适用于