ISiteStaticFileServiceFileExists Method |
Checks if a site static file is available on the specified relative path.
Namespace: CMS.Base.InternalAssembly: CMS.Base (in CMS.Base.dll) Version: 13.0.131
Syntax bool FileExists(
string relativePath
)
Parameters
- relativePath
- Type: SystemString
The relative path of the site static file.
Return Value
Type:
Booleantrue if static file is available on the path;
false otherwise
See Also