_MailItem.ExpiryTime Property

Returns or sets a DateTime indicating the date and time at which the item becomes invalid and can be deleted. Read/write.

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

Syntax

'Declaration
<DispIdAttribute()> _
Property ExpiryTime As DateTime
    Get
    Set
'Usage
Dim instance As _MailItem
Dim value As DateTime

value = instance.ExpiryTime

instance.ExpiryTime = value
[DispIdAttribute()]
DateTime ExpiryTime { get; set; }

Property Value

Type: System.DateTime

See Also

Reference

_MailItem Interface

_MailItem Members

Microsoft.Office.Interop.Outlook Namespace