BuildManagerViewEngine.FileExists(ControllerContext, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates whether a file exists in the specified virtual file system (path).
protected override bool FileExists (System.Web.Mvc.ControllerContext controllerContext, string virtualPath);
override this.FileExists : System.Web.Mvc.ControllerContext * string -> bool
Protected Overrides Function FileExists (controllerContext As ControllerContext, virtualPath As String) As Boolean
Parameters
- controllerContext
- ControllerContext
The controller context.
- virtualPath
- String
The virtual path.
Returns
true if the file exists in the virtual file system; otherwise, false.