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 override bool FileExists(
	ControllerContext controllerContext,
	string virtualPath


Type: System.Web.Mvc.ControllerContext

The controller context.

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
© 2015 Microsoft