VirtualPathProviderViewEngine.FileExists Method
Visual Studio 2010
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)
protected virtual bool FileExists( ControllerContext controllerContext, string virtualPath )
Parameters
- controllerContext
- Type: System.Web.Mvc.ControllerContext
The controller context.
- virtualPath
- Type: System.String
The virtual path.
Community Additions
ADD
Show: