Click or drag to resize

ICriteriaEmpty Property

Returns true if the collection is empty. i.e. if it contains no elements

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
bool Empty { get; }

Property Value

Type: Boolean

Implements

IMapCollectionEmpty
Examples

Empty

VB
Dim db As New Database
If db.Login("<username>", "<password>") Then
    Dim selection As SOSelection = db.GetSelection(25)
    Dim msg As String
    If Not selection.Criteria.Empty Then
        For Each criterion As SOCriterion In selection.Criteria
            msg += criterion.fieldname & vbCrLf
        Next
        MsgBox(msg)
    Else
        MsgBox("selection contains no criteria")
    End If
Else
    MsgBox("failed to log in")
End If

See Also