TAttachProp

Data Structure

The TAttachProp defines the properties of mail message attach object.

 

Delphi syntax:

  TAttachProp = record

    FileName: TMString;

    Number: word;

    Size: int64;

  end;

 

C++ syntax:

  typedef struct _ATTACHPROP {

            TMString           FileName;        

            WORD              Number;

            LONGLONG        Size;

 } ATTACHPROP, *PATTACHPROP;

 

C# syntax:

    [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]

    public struct AttachProp

    {

        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = MConstants.MSTRING_LENGTH)]

        public string FileName;          

        public int Number;

        public Int64 Size;

    }

 

Members:

FileName

 name of the attach

Number

 number of the attach, see GetAttachCount.

Size

 size of the attach inside mail message. Can be not defined, use GetAttachLength to determinate attach size.

 

See also:

GetAttachProp, OpenMailbox, GetFolderCount, GetFolderProp, GetMailProp

 

 

 

 

 

© AIRMail SDK Team 2005-2008, please contact as