Click or drag to resize
TreeProviderGetUniqueDocumentName Method
Returns unique document name for the specified parent node. Does not check for duplicity if duplicity occurs within the currentNodeId.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
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: String
See Also