VirtualPathProviderViewEngine.FileExists Method (ControllerContext, String)
Returns a value that indicates whether the file is in the specified path by using the specified controller context.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
abstract FileExists : controllerContext:ControllerContext * virtualPath:string -> bool override FileExists : controllerContext:ControllerContext * virtualPath:string -> bool
Parameters
- controllerContext
-
Type:
System.Web.Mvc.ControllerContext
The controller context.
- virtualPath
-
Type:
System.String
The virtual path.
Show: