DefaultDisplayMode.GetDisplayInfo 方法

定义

检索有关结果窗格中某个项的显示信息。

public virtual System.Web.WebPages.DisplayInfo GetDisplayInfo(System.Web.HttpContextBase httpContext, string virtualPath, Func<string,bool> virtualPathExists);
abstract member GetDisplayInfo : System.Web.HttpContextBase * string * Func<string, bool> -> System.Web.WebPages.DisplayInfo
override this.GetDisplayInfo : System.Web.HttpContextBase * string * Func<string, bool> -> System.Web.WebPages.DisplayInfo
Public Overridable Function GetDisplayInfo (httpContext As HttpContextBase, virtualPath As String, virtualPathExists As Func(Of String, Boolean)) As DisplayInfo

参数

httpContext
HttpContextBase

http 上下文。

virtualPath
String

虚拟路径。

virtualPathExists
Func<String,Boolean>

如果虚拟路径存在,则为 true;否则为 false。

返回

有关结果窗格中某个项的显示信息。

实现

适用于