Get specified file attachment's binary data.
[Syntax] C++: HRESULT GetAttachmentChunk( int nCount, VARIANT* pVal ) Visual Basic: GetAttachmentChunk( nCount As Integer ) As Variant C#: byte[] GetAttachmentChunk( int nCount )
Parameters
nCount
Ordinal number of file attachment. The minimum value is 1, and the maximum value is returned by method GetAttachmentCount.
Return Value
This method returns specified file attachment's binary data.
Remarks
This method can be used to pass binary data of file attachment to database or output specified file attachment to web browser directly.
See Also
GetAttachmentCount Method
GetAttachmentName Method
GetAttachmentSize Method
SaveAttachment Method
SaveAttachmentAs Method
2001-2007 © Copyright AdminSystem Software Limited. All rights reserved.