Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Utility Namespace / IAddressFormatter Interface / Format Method / Format(String,String,String,String,String,String,String,String,String,String,String,String,Boolean) Method
The format pattern
The name in address
The company name
Address line 1
Address line 2
The city or township
The province
The postal code
The country name. If length of the country name is 2 it is considered as country code
The phone number
The fax number
The email address
If true address is formatted in HTML otherwise plain text.
In This Topic
    Format(String,String,String,String,String,String,String,String,String,String,String,String,Boolean) Method
    In This Topic
    Formats the address using the given format pattern.
    Syntax

    Parameters

    pattern
    The format pattern
    name
    The name in address
    company
    The company name
    address1
    Address line 1
    address2
    Address line 2
    city
    The city or township
    province
    The province
    postalCode
    The postal code
    country
    The country name. If length of the country name is 2 it is considered as country code
    phone
    The phone number
    fax
    The fax number
    email
    The email address
    isHtml
    If true address is formatted in HTML otherwise plain text.

    Return Value

    Formatted address
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also