IContactFormattedAddress Property |
returns just the address as a multi-line string according to the country's address layout
Returns the name and mailing address of the contact formatted according to the national rules. Useful when generating address labels
Namespace:
SuperOffice.COM.SuperOfficeDB
Assembly:
SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntaxstring FormattedAddress { get; }
ReadOnly Property FormattedAddress As String
Get
Dim instance As IContact
Dim value As String
value = instance.FormattedAddress
property String^ FormattedAddress {
String^ get ();
}
Property Value
Type:
StringString – Contact name and mailing address
ExamplesFormattedAddress
This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.
Dim objSO
Set objSO = CreateObject("SuperOffice.Application")
If not (objSO is nothing) Then
MsgBox "Current contact formatted address is: " & vbCrLf & objSO.CurrentContact.FormattedAddress, vbInformation + vbOKOnly, "SuperCOM"
else
MsgBox "Unable to connect"
end if
Set objSO = Nothing
See Also