Click or drag to resize

IProjectMembersCount Property

Count - returns the number of items in the collection

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

Property Value

Type: Int32
Long - number of items in the collection

Implements

IMapCollectionCount
Examples

Count

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

This will return the number of project members on the project.

VB
Dim objSO
Set objSO = CreateObject("SuperOffice.Application")
If not (objSO is nothing) Then
    MsgBox "The current project has " & objSO.currentproject.members.count & " project members.", vbInformation + vbOkOnly, "SuperCOM"
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also