VersionManagerGetLatestAttachmentVersionInternal Method |
Returns attachment version for latest version of a document.
Searches only in main attachments. Attachment variants are omitted and if found, returns null.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax protected virtual AttachmentHistoryInfo GetLatestAttachmentVersionInternal(
Guid attachmentGuid,
string siteName,
bool getBinary
)
Parameters
- attachmentGuid
- Type: SystemGuid
Attachment GUID - siteName
- Type: SystemString
Attachment site name - getBinary
- Type: SystemBoolean
Indicates if binary data should be included
Return Value
Type:
AttachmentHistoryInfoSee Also