Click or drag to resize
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.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
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: AttachmentHistoryInfo
See Also