Click or drag to resize

ISelectionMemberContactCity Property

Returns the contact object’s city property

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

Property Value

Type: String
SOContact – a reference to the contact object String – name of city
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

ContactCity

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

This returns the city of the first selectionmember object.

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.contactcity
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also