Description
-
References specific message in the folder.
Property type
-
An ImapMessage
object.
Syntax
-
object.Item(Index)
The Item Property syntax has these parts:
object |
An expression evaluating to an object
of type ImapMessages. |
Index |
Required. An Integer value. Determines
message index. |
Remarks
- Item property will return specific message from
collection of all messages (from the folder), or will return
specific part of the message, depending on when you use
it.
For example,
-
- Folder.Messages.Item(3) would
return 4th message in the folder,
-
- and
-
- Folder.Messages.Item(3).Parts.Item(2) would
return 3rd part of the message, to be more precise of the 4th
message (collections are zero based).
-
- Usually you don't have to write Item because it's
default property. It's easier to use Folder.Messages(3) instead of Folder.Messages.Item(3).
|