Specifies the type of the currently indexed file attachment. This property is not available at design time. It is read-only unless MsgIndex is set to -1.
Syntax
object.AttachmentType [ = value ]
The AttachmentType property syntax has these parts:
| Part | Description |
| object | An object expression that evaluates to an object in the Applies To list. |
| value | An integer expression specifying the type of the currently indexed file attachment, as described in Settings. |
Settings
The settings for value are:
| Constant | Value | Description |
| mapData | 0 | The attachment is a data file. |
| mapEOLE | 1 | The attachment is an embedded OLE object. |
| mapSOLE | 2 | The attachment is a static OLE object. |
Remarks
The value of AttachmentType depends on the currently indexed attachment, as selected by the AttachmentIndex property.
Data Type
Integer