共用方式為


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。

傳回

在結果窗格中項目的顯示資訊。

實作

適用於