Click or drag to resize

ISelectionMemberContact Property

The contact object of the selection member

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

Property Value

Type: SOContact
SOContact – a reference to the contact object
Examples

Contact

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

This example returns the first selection members formatted label:

VB
Dim objSO
Dim result
Set objSO = CreateObject("SuperOffice.Application")
If not (objSO is nothing) Then
    set sele = objSO.currentSelection.SelectionMembers.item(1)
    msgbox "First selection member city: " & sele.contact.formattedlabel
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also