Click or drag to resize

EmbeddedResourcePathProviderFileExists Method

Gets a value that indicates whether a file exists in the virtual file system.

Namespace: GSF.Web.Hosting
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.218-beta
Syntax
public override bool FileExists(
	string virtualPath
)
View Source

Parameters

virtualPath  String
The path to the virtual file.

Return Value

Boolean
if the file exists in the virtual file system; otherwise, .
Exceptions
ExceptionCondition
ArgumentNullException Thrown if virtualPath is .
ArgumentOutOfRangeException Thrown if virtualPath is Empty.
Remarks

This override checks to see if the embedded resource file exists in memory. If so, this method will return . If not, it returns the value from the Previous virtual path provider.

See Also