Platform SDK: CDO 1.2.1

GetFirst Method (CDONTS Messages Collection)

The GetFirst method returns the first Message object in the Messages collection. It returns Nothing if no first object exists.

Syntax

Set objMessage = collMessages.GetFirst( ) 
 
objMessage
On successful return, represents the first Message object in the collection.
collMessages
Required. The Messages collection object.