Converts a DateTime to a MailDateTime.

Namespace:  Rebex.Mime.Headers
Assembly:  Rebex.Mail (in Rebex.Mail.dll)

Syntax

Visual Basic
Public Shared Widening Operator CType ( _
	localTime As DateTime _
) As MailDateTime
C#
public static implicit operator MailDateTime (
	DateTime localTime
)

Parameters

localTime
Type: System..::..DateTime
A date and time.

Return Value

A MailDateTime.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also