Visual Basic: MAPI Controls

MsgCount Property

See Also    Example    Applies To

Returns the total number of messages present in the message set during the current messaging session. This property is not available at design time, and is read-only at run time.

Syntax

object.MsgCount

The MsgCount property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.

Remarks

This property is used to get a current count of the messages in the message set. The default value is 0. This property is reset each time a fetch is performed.

Data Type

Long