Click or drag to resize
FileHelperDirectoryExists Method
Checks if a URL resolves to an existing directory on the local file system.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
public static bool DirectoryExists(
	string url
)

Parameters

url
Type: SystemString
URL to check; can be absolute, relative or app-relative

Return Value

Type: Boolean
true, if the specified URL points to a localy stored directory
See Also