Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Catalog Namespace / DefaultUrlGenerator Class / GetBrowseUrl Method / GetBrowseUrl(Int32,String) Method
Id of the category for which to get the browse URL
The name to use in the link
In This Topic
    GetBrowseUrl(Int32,String) Method
    In This Topic
    Gets a browsing URL for given category
    Syntax
    public virtual string GetBrowseUrl( 
       int categoryId,
       string name
    )

    Parameters

    categoryId
    Id of the category for which to get the browse URL
    name
    The name to use in the link

    Return Value

    A browsing URL for the given category
    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