Click or drag to resize

IPhonesCount 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

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 phone numbers on the current contact

VB
Dim objSO
Set objSO = CreateObject("SuperOffice.Application")
If not (objSO is nothing) Then
    MsgBox "The current contact has " & objSO.CurrentContact.Phones.Count & " phone numbers"
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also