Click or drag to resize
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.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public static string GetUniqueDirectoryName(
	string dirPath
)

Parameters

dirPath
Type: SystemString
Directory path (relative with ~/ or absolute)

Return Value

Type: String
See Also