| DocumentHelperGetAttachment Method (Guid, TreeProvider, String, Boolean) | 
            Returns the latest version of the specified attachment.
            
 
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntaxpublic static AttachmentInfo GetAttachment(
	Guid attachmentGuid,
	TreeProvider tree,
	string siteName,
	bool includeBinary = true
)
Parameters
- attachmentGuid
 - Type: SystemGuid
Attachment GUID - tree
 - Type: CMS.DocumentEngineTreeProvider
TreeProvider to use - siteName
 - Type: SystemString
Site name - includeBinary (Optional)
 - Type: SystemBoolean
Indicates whether binary data should be included. 
Return Value
Type: 
AttachmentInfo
See Also