Vcl.ExtActns.TSendMail.GetAttachmentData
Delphi
function GetAttachmentData(const Index: Integer): TMapiFileDesc; virtual;
C++
virtual Winapi::Mapi::TMapiFileDesc __fastcall GetAttachmentData(const int Index);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.ExtActns.pas Vcl.ExtActns.hpp |
Vcl.ExtActns | TSendMail |
Description
Returns a MAPI attachment, given its index in Attachments.
Call GetAttachmentData to obtain a MAPI-specific structure that contains information about the attachment specified at the index Index in Attachments.
To free the memory allocated for the resulting MAPI attachment, call FreeAttachmentData.