dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlInterval Structure / PgSqlInterval Constructor / PgSqlInterval Constructor(TimeSpan)
The specified System.TimeSpan.

In This Topic
    PgSqlInterval Constructor(TimeSpan)
    In This Topic
    Initializes a new instance of the PgSqlInterval structure with the specified System.TimeSpan.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal ts As TimeSpan _
    )
    public PgSqlInterval( 
       TimeSpan ts
    )

    Parameters

    ts
    The specified System.TimeSpan.
    Remarks
    When PgSqlInterval is created, its Years, Months, Days, Hours, Minutes, Seconds, and Milliseconds properties are initialized according to arguments specified in the constructor.
    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