Click or drag to resize
MediaLibraryHelperEnsureUniqueDirectory Method
Ensures unique path for the specified directory. If the directory with the specified name already exist in the target location new path with the added suffix is returned. The suffix consist of '_' sign and the number.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 9.0.0
Syntax
C#
public static string EnsureUniqueDirectory(
	string path
)

Parameters

path
Type: SystemString
Directory path to ensure

Return Value

Type: String
See Also