TreePathUtilsGetUniqueDocumentName Method |
Returns the unique document name for the specified parent node, does not check duplicity if duplicity occurs within the currentNodeId.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax public static string GetUniqueDocumentName(
string documentName,
int parentNodeId,
int currentNodeId,
string documentCulture,
string className
)
Parameters
- documentName
- Type: SystemString
Original document name - parentNodeId
- Type: SystemInt32
Parent node ID - currentNodeId
- Type: SystemInt32
Current node ID - documentCulture
- Type: SystemString
Document culture - className
- Type: SystemString
Document class name
Return Value
Type:
StringSee Also