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: 12.0.0
Syntax
C#
public static string GetUniqueAttachmentFileName(
	TreeNode node,
	DocumentAttachment attachment
)

Parameters

node
Type: CMS.DocumentEngineTreeNode
Document node
attachment
Type: CMS.DocumentEngineDocumentAttachment
Attachment for which the name should be unified

Return Value

Type: String
See Also