TreeProviderGetUniqueDocumentName Method |
Returns unique document name for the specified parent node. Does not check for duplicity if duplicity occurs within the currentNodeId.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax public 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
Class name
Return Value
Type:
StringSee Also