Click or drag to resize
AttachmentBinaryHelper.GetAttachmentBinary Method
Returns the file from disk or (if not available on the disk) from database.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 10.0.0
Syntax
C#
public static byte[] GetAttachmentBinary(
	DocumentAttachment attachment
)

Parameters

attachment
Type: CMS.DocumentEngine.DocumentAttachment
Document attachment.

Return Value

Type:Byte[]
See Also