Share via


ExDateTime Explicit conversion (DateTime to ExDateTime)

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

Syntax

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

output = CType(input, ExDateTime)
public static explicit operator ExDateTime (
    DateTime dateTime
)

Parameters

Return value

Type: Microsoft.Exchange.ExchangeSystem.ExDateTime

See also

Reference

ExDateTime structure

ExDateTime members

Explicit overload

Microsoft.Exchange.ExchangeSystem namespace