Click or drag to resize

IAddress Properties

The IAddress type exposes the following members.

Properties
  NameDescription
Public propertyCode exampleAddress1
Address line 1 Addressline 1 is used both in postal and street address for the contact
Public propertyCode exampleAddress2
Address line 2 Addressline 2 is used both in postal and street addresses for the contact
Public propertyCode exampleAddress3
Address line 3 Addressline 3 is used both in postal and street addresses for the contact
Public propertyCode exampleAddressId
AddressId - primary key of the address record. The internal ID for the street address or postal address. This example focuses on street address
Public propertyCode exampleCity
City The contact or contact persons city, e.g. Oslo
Public propertyCode exampleCountryId
The Country id of the address owner (the contact or person object) The contact or contact persons internal country id. By using the OLE DB Provider, all the properties of the country table are available
Public propertyCode exampleCounty
County Address county (note: this is not country)
Public propertyCode exampleFormattedAddress
Returns the Address as a formatted string, according to the address layout for the country.

Returns the given address in a single string, formatted according to the national rules. Useful when generating address labels.

Does not substitute the default contact address if the address is blank. If the address is empty, then the FormattedAddress is also empty. Use SOContact.FormattedAddress or SOPerson.FormattedAddress instead. The formatting is specified in the Addressformat table

Public propertyCode exampleState
State abbrev The state the contact is in
Public propertyCode exampleType
Address Type (1=postal, 2=street, 3=personal) The type of address: postal or street address. See database manual for an updated list of type codes
Public propertyCode exampleTypeIdx
TypeIdx - Address Type (1=postal, 2=street, 3=personal) The type of address: postal or street address. See database manual for an updated list of type codes The type of address - is it a contact or person address, postal or street address. See database manual for an updated list of type codes
Public propertyCode exampleValidFrom
The address is valid from this date
Public propertyCode exampleValidTo
The address is valid to this date
Public propertyCode exampleZipCode
ZipCode or postal code ZIP or postal code of the address
Top
See Also