Close Method  
 

Close the current message.

Syntax

object.Close

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 Close method releases the memory allocated by the control when the message was opened or when a new message was composed. If this method is not explicitly called, the control will automatically close the current message when a new message is opened or when the control unloaded.

See Also

Clear Method, Compose Method, Import Method, Export Method, Open Method