Share via


DisplayModeProvider.GetDisplayInfoForVirtualPath Metoda

Definice

Tento typ/člen podporuje infrastrukturu rozhraní .NET Framework a není určen k použití přímo z vašeho kódu. DisplayInfo Získá pro virtuální cestu.

public System.Web.WebPages.DisplayInfo GetDisplayInfoForVirtualPath (string virtualPath, System.Web.HttpContextBase httpContext, Func<string,bool> virtualPathExists, System.Web.WebPages.IDisplayMode currentDisplayMode);
member this.GetDisplayInfoForVirtualPath : string * System.Web.HttpContextBase * Func<string, bool> * System.Web.WebPages.IDisplayMode -> System.Web.WebPages.DisplayInfo
Public Function GetDisplayInfoForVirtualPath (virtualPath As String, httpContext As HttpContextBase, virtualPathExists As Func(Of String, Boolean), currentDisplayMode As IDisplayMode) As DisplayInfo

Parametry

virtualPath
String

Virtuální cesta.

httpContext
HttpContextBase

Kontextový základ HTTP.

virtualPathExists
Func<String,Boolean>

true Pokud virtuální cesta existuje; jinak false.

currentDisplayMode
IDisplayMode

Aktuální režim zobrazení.

Návraty

Pro DisplayInfo virtuální cestu.

Platí pro