Delete the specified message part in the current message.
Syntax
object.DeletePart( [MessagePart] )
Parameters
- MessagePart
- An optional integer value that specifies the message part to
delete from the current message.
Return Value
A value of zero is returned if the method succeeds.
Otherwise, a non-zero error code is returned which indicates the
cause of the failure.
Remarks
The DeletePart method deletes the specified message part in
the current message. If the optional message part is not specified,
then the current message part is deleted.
See Also
AttachFile Method,
CreatePart Method
|