DisplayModeProvider.GetDisplayInfoForVirtualPath Method

Definition

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the DisplayInfo for the virtual path.

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

Parameters

virtualPath
String

The virtual path.

httpContext
HttpContextBase

The http context base.

virtualPathExists
Func<String,Boolean>

true if the virtual path exists; otherwise, false.

currentDisplayMode
IDisplayMode

The current display mode.

Returns

The DisplayInfo for the virtual path.

Applies to