Visual Basic: MAPI Controls

Visual Studio 6.0

AttachmentCount Property

See Also    Example    Applies To

Returns the total number of attachments associated with the currently indexed message. This property is not available at design time, and is read-only at run time.

Syntax

object.AttachmentCount

The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Remarks

The default value is 0. The value of AttachmentCount depends on the number of attachments in the current indexed message.

Note   With Microsoft Outlook Express 5 and Netscape, the AttachmentCount property always returns zero even if there are some attachments in e-mail messages.

Data Type

Long

Show: