Click or drag to resize
DocumentHelperGetAttachment Method (TreeNode, Guid, TreeProvider, Boolean)
Returns specified attachment for the given node.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax
C#
public static AttachmentInfo GetAttachment(
	TreeNode node,
	Guid attachmentGuid,
	TreeProvider tree,
	bool includeBinary = true
)

Parameters

node
Type: CMS.DocumentEngineTreeNode
Document node
attachmentGuid
Type: SystemGuid
Attachment GUID
tree
Type: CMS.DocumentEngineTreeProvider
TreeProvider to use
includeBinary (Optional)
Type: SystemBoolean
Indicates whether binary data should be included.

Return Value

Type: AttachmentInfo
See Also