Click or drag to resize
VersionManagerGetLatestAttachmentVersion Method
Returns latest attachment version found in the AttachmentHistoryTable.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax
C#
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: AttachmentInfo
See Also