Share via


EmailMessage.ReplyBy Property

When overridden in a derived class, the ReplyBy property gets or sets a value that indicates the date and time by which a reply to the message is expected.

Namespace:  Microsoft.Exchange.Data.Transport.Email
Assembly:  Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)

Syntax

'Declaration
Public Property ReplyBy As DateTime
    Get
    Set
'Usage
Dim instance As EmailMessage
Dim value As DateTime

value = instance.ReplyBy

instance.ReplyBy = value
public DateTime ReplyBy { get; set; }

Property Value

Type: System.DateTime

Remarks

Setting the ReplyBy property of a Multipurpose Internet Mail Extensions (MIME) message to a value of DateTime.MinValue removes the header from the message. When the value of the ReplyBy property is set, the EmailMessage object determines the time zone to be either current or coordinated universal time (UTC), depending on the DateTimeKind of the value.

Note

When you set the value of the ReplyBy property by using an instance of the DateTime structure that does not specify DateTimeKind, the ReplyBy property assumes that the DateTime instance represents local time.