Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

BuildManagerViewEngine.FileExists Method

Gets a value that indicates whether a file exists in the specified virtual file system (path).

Namespace:  System.Web.Mvc
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.

Return Value

Type: System.Boolean
true if the file exists in the virtual file system; otherwise, false.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.