Share via


_MailItem.DeleteAfterSubmit Property

Returns or sets a Boolean value (bool in C#) that is True if a copy of the mail message is not saved upon being sent, and False if a copy is saved. Read/write.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
Property DeleteAfterSubmit As Boolean
    Get
    Set
'Usage
Dim instance As _MailItem
Dim value As Boolean

value = instance.DeleteAfterSubmit

instance.DeleteAfterSubmit = value
bool DeleteAfterSubmit { get; set; }

Property Value

Type: System.Boolean

See Also

Reference

_MailItem Interface

_MailItem Members

Microsoft.Office.Interop.Outlook Namespace