BuildManagerViewEngine.FileExists Method (ControllerContext, String)


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)


protected override bool FileExists(
    ControllerContext controllerContext,
    string virtualPath
virtual bool FileExists(
    ControllerContext^ controllerContext,
    String^ virtualPath
) override
override FileExists : 
        controllerContext:ControllerContext *
        virtualPath:string -> bool
Protected Overrides Function FileExists (
    controllerContext As ControllerContext,
    virtualPath As String
) As Boolean


Return Value

Type: System.Boolean

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

See Also

BuildManagerViewEngine Class
System.Web.Mvc Namespace

Return to top