DisplayModeProvider.GetDisplayInfoForVirtualPath 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
此類型/成員支援.NET Framework基礎結構,不適合直接從您的程式碼使用。DisplayInfo取得虛擬路徑的 。
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
參數
- virtualPath
- String
虛擬路徑。
- httpContext
- HttpContextBase
HTTP 內容基底。
- currentDisplayMode
- IDisplayMode
目前顯示模式。
傳回
DisplayInfo虛擬路徑的 。