dotConnect for DB2 Documentation
Devart.Data.DB2.DB2Types Namespace / DB2TimeStamp Structure / Implicit Type Conversion Operator
The source System.DateTime structure.

In This Topic
    Implicit Type Conversion Operator (DB2TimeStamp)
    In This Topic
    Converts a System.DateTime structure to a DB2TimeStamp structure.
    Syntax
    'Declaration
     
    Public Operator Widening CType( _
       ByVal source As Date _
    ) As DB2TimeStamp
    public DB2TimeStamp operator implicit( 
       DateTime source
    )

    Parameters

    source
    The source System.DateTime structure.

    Return Value

    A DB2TimeStamp structure.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also