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

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

    Parameters

    source
    The source System.TimeSpan structure.

    Return Value

    A DB2Time 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