Click or drag to resize
DocumentHelperMoveAttachmentUp Method
Moves attachment up within node attachments. Supports unordered, grouped and temporary attachments.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax
C#
public static void MoveAttachmentUp(
	Guid attachmentGuid,
	TreeNode node
)

Parameters

attachmentGuid
Type: SystemGuid
GUID of attachment or attachment history
node
Type: CMS.DocumentEngineTreeNode
TreeNode under which attachments will be sorted.
Exceptions
ExceptionCondition
ArgumentNullExceptionnode is null.
InvalidOperationExceptionMoving attachment variants is not supported.
See Also