ViewContext.ExecutingFilePath Vlastnost

Definice

Získá nebo nastaví cestu k souboru zobrazení, který se právě vykresluje.

public:
 property System::String ^ ExecutingFilePath { System::String ^ get(); void set(System::String ^ value); };
public string ExecutingFilePath { get; set; }
public string? ExecutingFilePath { get; set; }
member this.ExecutingFilePath : string with get, set
Public Property ExecutingFilePath As String

Hodnota vlastnosti

Poznámky

Vykreslování zobrazení může zahrnovat jeden nebo více souborů (např. _ViewStart, rozložení atd.). Tato vlastnost obsahuje cestu k souboru, který se právě vykresluje.

Platí pro