Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Shipping Namespace / ShipZone Class / IncludesAddress Method / IncludesAddress(String,Int32,String) Method
The country code to test against the zone criteria
The provinceId to test against the zone criteria
The postal code to test against the zone criteria
In This Topic
    IncludesAddress(String,Int32,String) Method
    In This Topic
    Indicates whether the given address is included in the zone.
    Syntax
    public virtual bool IncludesAddress( 
       string countryCode,
       int provinceId,
       string postalCode
    )

    Parameters

    countryCode
    The country code to test against the zone criteria
    provinceId
    The provinceId to test against the zone criteria
    postalCode
    The postal code to test against the zone criteria

    Return Value

    True if the address is included in the zone, false otherwise.
    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