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)
See Also