Click or drag to resize

IInterestsCount Property

Count - returns the number of items in the collection The count of members of this 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 active company interests on the contact.

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

See Also