This documentation is archived and is not being maintained.

Visual Basic: MAPI Controls

Visual Studio 6.0

FetchUnreadOnly Property

See Also    Example    Applies To

Determines whether to restrict the messages in the message set to unread messages only.

Syntax

object.FetchUnreadOnly [ = value ]

The FetchUnreadOnly property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
value A boolean expression specifying whether to restrict messages in the message set, as described in Settings.

Settings

The settings for value are:

Setting Description
True (Default) Only unread messages of the type specified in the FetchMsgType property are added to the message set.
False All messages of the proper type in the Inbox are added.

Data Type

Boolean

Show: