Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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 Overrides Function FileExists (
	controllerContext As ControllerContext,
	virtualPath As String
) As Boolean

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.

Return to top
Show:
© 2015 Microsoft