dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlInterval Structure / Implicit Type Conversion Operator
A System.TimeSpan structure.

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

    Parameters

    value
    A System.TimeSpan structure.

    Return Value

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