VersionManagerGetLatestAttachmentVersion Method |
Returns latest attachment version found in the AttachmentHistoryTable.
Returns only an attachment which is not a variant. For an attachment variant returns null.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax public AttachmentHistoryInfo 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:
AttachmentHistoryInfoSee Also