FileHelperGetUniqueDirectoryName Method |
Returns dirPath based on the given direPath which is unique within the parent folder.
If the path is relative, relative path is returned, if the input path was absolute, absolute path is returned.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax public static string GetUniqueDirectoryName(
string dirPath
)
Parameters
- dirPath
- Type: SystemString
Directory path (relative with ~/ or absolute)
Return Value
Type:
StringSee Also