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.
    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