Click or drag to resize
ISiteStaticFileServiceFileExists Method
Checks if a site static file is available on the specified relative path.

Namespace: CMS.Base.Internal
Assembly: CMS.Base (in CMS.Base.dll) Version: 13.0.131
Syntax
C#
bool FileExists(
	string relativePath
)

Parameters

relativePath
Type: SystemString
The relative path of the site static file.

Return Value

Type: Boolean
true if static file is available on the path; false otherwise
See Also