Message Property  

Gets and sets the current message number.


object.Message [= value ]


The Message property sets or returns the message number for the currently selected mailbox. Message numbers range from 1 through the number of messages available on the server, as returned by the MessageCount property. Setting the Message property to an invalid message number will generate an error.

Data Type

Integer (Int32)

See Also

MessageCount Property, MessageSize Property