Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Shipping Namespace / IProvinceRepository Interface / GetProvinceIdByName Method
The country of the province
Name of the province
In This Topic
    GetProvinceIdByName Method (IProvinceRepository)
    In This Topic
    Gets province Id given its name and country
    Syntax
    int GetProvinceIdByName( 
       string countryCode,
       string provinceName
    )

    Parameters

    countryCode
    The country of the province
    provinceName
    Name of the province

    Return Value

    The province Id
    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