Click or drag to resize
DocumentHelperAttachmentHasUniqueName Method
Finds out whether given attachment name is unique.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 10.0.0
Syntax
C#
public static bool AttachmentHasUniqueName(
	TreeNode node,
	DocumentAttachment attachment
)

Parameters

node
Type: CMS.DocumentEngineTreeNode
Document node
attachment
Type: CMS.DocumentEngineDocumentAttachment
Attachment to check

Return Value

Type: Boolean
True if attachment name is unique
See Also