ClearMessage Method  
 

Clear the header and body of the current message.

Syntax

object.ClearMessage

Parameters

None.

Return Value

A value of zero is returned if the action was successful. Otherwise, a non-zero error code is returned which indicates the cause of the failure.

Remarks

The ClearMessage method clears the current message, releasing the memory allocated for the message and any attachments.

See Also

SelLength Property, SelStart Property, SelText Property, Text Property