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

IsEmpty Property (PgSqlArray)
Gets a value that indicates whether PgSqlArray is an empty array.
Syntax
'Declaration
 
Public ReadOnly Property IsEmpty As Boolean
 

Property Value

true if PgSqlArray represents an empty array value; otherwise, false.
Remarks

You can get an empty instance of PgSqlArray in the following ways:

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