DocumentHelperMoveAttachmentUp Method |
Moves attachment up within node attachments. Supports unordered, grouped and temporary attachments.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax 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 Exception | Condition |
---|
ArgumentNullException | node is null. |
InvalidOperationException | Moving attachment variants is not supported. |
See Also