dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlInterval Structure / Explicit Type Conversion Operator
An PgSqlInterval structure to convert to System.TimeSpan.

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

    Parameters

    value
    An PgSqlInterval structure to convert to System.TimeSpan.

    Return Value

    A System.TimeSpan structure.
    See Also