FileHelperDirectoryExists Method |
Checks if a URL resolves to an existing directory on the local file system.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax public static bool DirectoryExists(
string url
)
Parameters
- url
- Type: SystemString
URL to check; can be absolute, relative or app-relative
Return Value
Type:
Booleantrue, if the specified URL points to a locally stored directory
See Also