Formats the components of an address into the format defined by the Country.

Namespace:  Asi.iBO.ContactManagement
Assembly:  Asi.iBO (in Asi.iBO.dll) Version: 15.1.2.0

Syntax

C#
public static string FormatAddress(
	string address1,
	string address2,
	string address3,
	string city,
	string stateProvince,
	string postalCode,
	string country
)
Visual Basic (Declaration)
Public Shared Function FormatAddress ( _
	address1 As String, _
	address2 As String, _
	address3 As String, _
	city As String, _
	stateProvince As String, _
	postalCode As String, _
	country As String _
) As String
Visual C++
public:
static String^ FormatAddress(
	String^ address1, 
	String^ address2, 
	String^ address3, 
	String^ city, 
	String^ stateProvince, 
	String^ postalCode, 
	String^ country
)

Parameters

address1
Type: System..::.String
The first line of the address
address2
Type: System..::.String
The second line of the address
address3
Type: System..::.String
The third line of the address
city
Type: System..::.String
The City (town/village)
stateProvince
Type: System..::.String
The state or province (if applicable)
postalCode
Type: System..::.String
The ZIP of postal code
country
Type: System..::.String
The country

Return Value

The adress formatted into a single string according to the formula defined for the country

See Also