Click or drag to resize
DocumentHelperGetUniqueAttachmentFileName Method
Returns unique attachment file name in the document scope.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax
C#
public static string GetUniqueAttachmentFileName(
	TreeNode node,
	string fileName,
	int currentAttachmentId,
	TreeProvider tree
)

Parameters

node
Type: CMS.DocumentEngineTreeNode
Document node
fileName
Type: SystemString
Attachment file name
currentAttachmentId
Type: SystemInt32
Current attachment ID
tree
Type: CMS.DocumentEngineTreeProvider
Tree provider to use

Return Value

Type: String
See Also