DefaultDisplayMode.GetDisplayInfo Method
Retrieves the display information about an item in the result pane.
Namespace: System.Web.WebPages
Assembly: System.Web.WebPages (in System.Web.WebPages.dll)
Syntax
'Declaration
Public Overridable Function GetDisplayInfo ( _
httpContext As HttpContextBase, _
virtualPath As String, _
virtualPathExists As Func(Of String, Boolean) _
) As DisplayInfo
'Usage
Dim instance As DefaultDisplayMode
Dim httpContext As HttpContextBase
Dim virtualPath As String
Dim virtualPathExists As Func(Of String, Boolean)
Dim returnValue As DisplayInfo
returnValue = instance.GetDisplayInfo(httpContext, _
virtualPath, virtualPathExists)
public virtual DisplayInfo GetDisplayInfo(
HttpContextBase httpContext,
string virtualPath,
Func<string, bool> virtualPathExists
)
public:
virtual DisplayInfo^ GetDisplayInfo(
HttpContextBase^ httpContext,
String^ virtualPath,
Func<String^, bool>^ virtualPathExists
)
abstract GetDisplayInfo :
httpContext:HttpContextBase *
virtualPath:string *
virtualPathExists:Func<string, bool> -> DisplayInfo
override GetDisplayInfo :
httpContext:HttpContextBase *
virtualPath:string *
virtualPathExists:Func<string, bool> -> DisplayInfo
public function GetDisplayInfo(
httpContext : HttpContextBase,
virtualPath : String,
virtualPathExists : Func<String, boolean>
) : DisplayInfo
Parameters
- httpContext
Type: System.Web.HttpContextBase
The http context.
- virtualPath
Type: System.String
The virtual path.
- virtualPathExists
Type: System.Func<String, Boolean>
true if the virtual path exists; otherwise, false.
Return Value
Type: System.Web.WebPages.DisplayInfo
The display information about an item in the result pane.
Implements
IDisplayMode.GetDisplayInfo(HttpContextBase, String, Func<String, Boolean>)