VersionManagerGetLatestAttachmentVersion Method |
Returns latest attachment version found in the AttachmentHistoryTable.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax public AttachmentInfo GetLatestAttachmentVersion(
Guid attachmentGuid,
string siteName,
bool getBinary = true
)
Parameters
- attachmentGuid
- Type: SystemGuid
Attachment GUID - siteName
- Type: SystemString
Attachment site name - getBinary (Optional)
- Type: SystemBoolean
Indicates if binary data should be included
Return Value
Type:
AttachmentInfoSee Also