GetLast Method (CDONTS Messages Collection)
The GetLast method returns the last Message object in the Messages collection. It returns Nothing if no last object exists.
Syntax
Set objMessage = collMessages.GetLast( )
-
objMessage
-
On successful return, represents the last Message object in the collection.
-
collMessages
-
Required. The Messages collection object.