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

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

    Parameters

    source
    The source DB2Time structure.

    Return Value

    A System.TimeSpan structure.
    See Also