Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Shipping Namespace / PostalCodeValidator Class / IsMatch Method
The pattern to match
The postal code to validate
In This Topic
    IsMatch Method (PostalCodeValidator)
    In This Topic
    Does the given postal code match the given pattern
    Syntax
    public virtual bool IsMatch( 
       string pattern,
       string postalCode
    )

    Parameters

    pattern
    The pattern to match
    postalCode
    The postal code to validate

    Return Value

    true if postal code matches the given pattern, 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