Vcl.ExtActns.TSendMail.GetAttachmentData

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetAttachmentData(const Index: Integer): TMapiFileDesc; virtual;

C++

virtual MapiFileDesc __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.

See Also