BuildManagerViewEngine.FileExists(ControllerContext, String) BuildManagerViewEngine.FileExists(ControllerContext, String) Method

Definition

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

Parameters

controllerContext
ControllerContext ControllerContext

The controller context.

virtualPath
String String

The virtual path.

Returns

true if the file exists in the virtual file system; otherwise, false.

Applies to