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: 13.0.131
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