This topic has not yet been rated - Rate this topic

WebFormViewEngine.FileExists Method

Determines whether a file at the specified location exists for the specified controller context.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
protected override bool FileExists(
	ControllerContext controllerContext,
	string virtualPath
)

Parameters

controllerContext
Type: System.Web.Mvc.ControllerContext
The controller context.
virtualPath
Type: System.String
The virtual path.

Return Value

Type: System.Boolean
true if the file exists; otherwise, false.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ