Share via


ExDateTime Explicit conversion (Nullable<DateTime> to Nullable<ExDateTime>)

Namespace:  Microsoft.Exchange.ExchangeSystem
Assembly:  Microsoft.Exchange.Net (in Microsoft.Exchange.Net.dll)

Syntax

'Declaration
Public Shared Narrowing Operator CType ( _
    dateTime As Nullable(Of DateTime) _
) As Nullable(Of ExDateTime)
'Usage
Dim input As Nullable(Of DateTime)
Dim output As Nullable(Of ExDateTime)

output = CType(input, Nullable(Of ExDateTime))
public static explicit operator Nullable<ExDateTime> (
    Nullable<DateTime> dateTime
)

Parameters

Return value

Type: System.Nullable<ExDateTime>

See also

Reference

ExDateTime structure

ExDateTime members

Explicit overload

Microsoft.Exchange.ExchangeSystem namespace