Partager via


_MailItem.DeleteAfterSubmit Property

Returns or sets a Boolean (bool in C#) value 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
<DispIdAttribute()> _
Property DeleteAfterSubmit As Boolean
    Get
    Set
'Usage
Dim instance As _MailItem
Dim value As Boolean

value = instance.DeleteAfterSubmit

instance.DeleteAfterSubmit = value
[DispIdAttribute()]
bool DeleteAfterSubmit { get; set; }

Property Value

Type: System.Boolean

See Also

Reference

_MailItem Interface

_MailItem Members

Microsoft.Office.Interop.Outlook Namespace