DocumentHelperGetAttachment Method (Guid, Int32, TreeProvider, Boolean) |
Returns given version of the specified attachment.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax public static AttachmentInfo GetAttachment(
Guid attachmentGuid,
int versionHistoryId,
TreeProvider tree = null,
bool includeBinary = true
)
Parameters
- attachmentGuid
- Type: SystemGuid
Attachment GUID - versionHistoryId
- Type: SystemInt32
Required version history ID - tree (Optional)
- Type: CMS.DocumentEngineTreeProvider
TreeProvider to use - includeBinary (Optional)
- Type: SystemBoolean
Indicates whether binary column should be included.
Return Value
Type:
AttachmentInfoSee Also