共用方式為


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路徑的 。

適用於