ItemAttachmentGetClass()

Returns an attachment class. Using X00 will work for the messageID if the item view is showing.

Token ID

AFTKN_ITEM_ATTACHMENT_CLASS or 670

Syntax

WORD ItemAttachmentGetClass(ANSISTRING MessageID; 
                             WORD Index)

Parameters

MessageID As ANSISTRING

Unique item identifier, returned by ItemMessageIDFromView().

Index As WORD

Return Values

  • WORD. Attachment Class: 1 File 2 Encapsulated item 3 Embedded or linked object (OLE)