Click or drag to resize

IProjectMembersEmpty 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
Boolean - True if the collection is empty

Implements

IMapCollectionEmpty
Examples

Empty

This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.).

This will test if the Members collection on the project has any project members in it.

VB
Dim objSO
Set objSO = CreateObject("SuperOffice.Application")
If not (objSO is nothing) Then
    if objSO.CurrentProject.Members.Empty then
        MsgBox "The current project has no projectMembers"
    else
        MsgBox "The current project has one or more projectMembers"
    End if
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also