Home
RecogniContact International Address Parser Help Prev Page Prev Page
Overview
Using RecogniContact
Redistributing RecogniContact
Class IContactParser
Class IParsedContact
Class IParserSettings
Sample code for C++
Sample code for Delphi
Sample code for Visual Basic


ATTENTION!
The RecogniContact/COM help has moved to to

http://address-parser.com/com_address_parser_help/
This page will go offline shortly. Please change your bookmarks.


Class IParsedContact

The class IParsedContact represents the parsing result (=the return value of a call to IContactParser.Parse()).

Class Methods

function GetValue(value:ContactFieldType):OleVariant;
GetValue() returns the fields of a contact parsed by RecogniContact.

ContactFieldType

When calling GetValue(), you can use the following constants as an argument:

ContactFieldType_Prefix
Returns a prefix title (Dr., Prof.) or a salutation (Mr., Mrs.)

ContactFieldType_FirstName
Returns a person's first name, or - if no complete first name was specified - the initial letter of the first name.

ContactFieldType_MiddleName
Returns a person's middle name, or - if no complete middle name was specified - the initial letter of the middle name.

ContactFieldType_LastName
Returns a person's last name.

ContactFieldType_Suffix
Returns a postfix title (MBA) or a name suffix (jr.)

ContactFieldType_Company
Returns a company name

ContactFieldType_Company2
Returns the second line of a company name

ContactFieldType_Position
Returns a person's job title or professional position

ContactFieldType_StreetAddress1
Returns the street address of a postal address. Only works when a complete postal address (include place name and zip/postal code) was specified.

ContactFieldType_StreetAddress2
Returns the second line of the street address

ContactFieldType_PostboxAddress
Returns a post office box address.

ContactFieldType_PostboxPostCode
Returns the post code belonging to the a post office box address. In several many countries, the post codes of street addresses and post pox addresses are different.

ContactFieldType_PostCode
Returns the post code of the street address.

ContactFieldType_PlaceName
Returns the place name in the address.

ContactFieldType_Province
Returns the region the place name in the address is located for these countries:
USA - US state
Germany - Bundesland
Austria - Bundesland
Switzerland - Canton
Italy - Province

ContactFieldType_Country
Returns the country of the parsed data.

ContactFieldType_Phone1
Returns the fixed line phone number

ContactFieldType_Phone2
Returns a second fixed line phone number

ContactFieldType_Mobile
Returns a mobile phone number

ContactFieldType_Fax
Returns a fax number

ContactFieldType_Email
Returns an email address

ContactFieldType_Url
Returns a website address

ContactFieldType_Gender
Returns a person's gender. RecogniContact looks up this information in a list of 20.000 known first names
M - Male
F - Male
MF - Male or female (undecidable for names like Alex, Sasha, etc.)
? - unknown, if an unknown first name was located
empty - if no first name was found

ContactFieldType_CountryIsoCode
Returns the 2 letter ISO country code as on http://www.iso.org/iso/english_country_names_and_code_elements.