AddressParser.ParseAddress

Parses address.

public Address ParseAddress( string address,
	string threeLetterRegionCode,
	string twoLetterIsoRegionCode );

Return Value

Parsed address object

Parameters

address
The string containing full address to be parsed.

threeLetterRegionCode
Three letter region code (such as "USA" or "AUT") that is to be assumed if no country is specified.

twoLetterIsoRegionCode
Two letter ISO region code (such as "US" or "AT") that is to be assumed if no country is specified.


Remarks

If the parser is not able to parse a given address, it's gonna raise the InvalidAddress event,
which in turn will have Args holding the source and address object so that the client
will be able to analyze the passed string (source) and the best guess made by the parser (Address object).
Overloads:
public Address ParseAddress( string address );
public void ParseAddress( string address, Address resultingAddress );
public void ParseAddress( string address, Address resultingAddress, string threeLetterRegionCode, string twoLetterIsoRegionCode );

See also:

Class AddressParser


  Last Updated: 5/23/2007 | © , 2007