Click or drag to resize

IListTextHeadingsEmpty Property

Returns true if the collection is empty. i.e. if it contains no elements List headings Checks whether the collection is empty (has no members) or not.

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

Property Value

Type: Boolean
Boolean – true if the collection is empty.

Implements

IMapCollectionEmpty
Examples

Check if collection is empty

This text may be copied to the notepad, and saved as a *.vbs file. You need a running CRM 5 to make it work. (This example uses the SuperOffice COM application library and not the SuperOffice db library interface).

VB
Dim objSO 
Dim objCL 
Set objSO = CreateObject("SuperOffice.Application")
If not (objSO is nothing) Then
    Set objCL = objSO.database.GetHistoryItems(130)
    If objCL.Empty Then
        MsgBox "There are no items for this table"
    Else
        Msgbox "There are " & objCL.Count & " HistoryItems in this table."
    End If
Else
    MsgBox "Could not log in"
End If
Set objSO = Nothing

See Also