dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlArray Structure / IsEmty Property
Example

In This Topic
    IsEmty Property
    In This Topic
    Indicates whether or not the PgSqlArray represents a null value.
    Syntax
    'Declaration
     
    Public ReadOnly Property IsEmty As Boolean
    public bool IsEmty {get;}

    Property Value

    true if the PgSqlArray represents an empty array value; otherwise, false.
    Remarks
    You can get the emty instance of PgSqlArray in the following ways: call static method CreateEmptyArray of PgSqlArray type. call static method Parse(String,PgSqlType) of PgSqlArray type. call the PgSqlArray Constructor(PgSqlType,Int32,Int32[]) constructor of PgSqlArray type.
    Example
    This sample demostrates all three ways to create an empty instance of PgSqlArray.
    PgSqlArray arr1 = PgSqlArray.CreateEmptyArray(PgSqlType.Int); 
    PgSqlArray arr2 = PgSqlArray.Parse("{}", PgSqlType.Int); 
    PgSqlArray arr3 = new PgSqlArray(PgSqlType.Int, 0);
    Dim arr1 As PgSqlArray = PgSqlArray.CreateEmptyArray(PgSqlType.Int)
    Dim arr2 As PgSqlArray = PgSqlArray.Parse("{}", PgSqlType.Int)
    Dim arr3 As PgSqlArray = new PgSqlArray(PgSqlType.Int, 0)
    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