Sdílet prostřednictvím


RelativeFileInfo(IFileInfo, String) Konstruktor

Definice

Inicializuje novou instanci objektu RelativeFileInfo.

public:
 RelativeFileInfo(Microsoft::Extensions::FileProviders::IFileInfo ^ fileInfo, System::String ^ relativePath);
public RelativeFileInfo (Microsoft.Extensions.FileProviders.IFileInfo fileInfo, string relativePath);
new Microsoft.AspNetCore.Mvc.Razor.Compilation.RelativeFileInfo : Microsoft.Extensions.FileProviders.IFileInfo * string -> Microsoft.AspNetCore.Mvc.Razor.Compilation.RelativeFileInfo
Public Sub New (fileInfo As IFileInfo, relativePath As String)

Parametry

fileInfo
IFileInfo

IFileInfo pro soubor.

relativePath
String

Cesta k souboru vzhledem k základu aplikace.

Platí pro