Click or drag to resize

IPersonCountry Property

The person's country - a list item - table enTableCntry=19 The country this contact person is located in

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
IListTextItem Country { get; set; }

Property Value

Type: IListTextItem
IListTextItem - A reference to the iListtextitem object
Examples

Country

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

This example returns the text string from the IListTextItem object, to show the Business type of the contact.

VB
Dim objSO
Set objSO = CreateObject("SuperOffice.Application")
If not (objSO is nothing) Then
    MsgBox "Current contact country: " & objSO.CurrentPerson.country.text, vbInformation + vbOKOnly, "SuperCOM"
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also