Freigeben über


DisplayModeProvider.GetDisplayInfoForVirtualPath Methode

Definition

Dieser Typ/Member unterstützt die .NET Framework-Infrastruktur und ist nicht für die direkte Verwendung aus Ihrem Code vorgesehen. Ruft den DisplayInfo für den virtuellen Pfad ab.

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

Parameter

virtualPath
String

Der virtuelle Pfad.

httpContext
HttpContextBase

Die HTTP-Kontextbasis.

virtualPathExists
Func<String,Boolean>

true, wenn der virtuelle Pfad vorhanden ist; andernfalls false.

currentDisplayMode
IDisplayMode

Der aktuelle Anzeigemodus.

Gibt zurück

Der DisplayInfo für den virtuellen Pfad.

Gilt für: