Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Catalog Namespace / CategoryRepository Class / GetCategoryName Method
If of the category of which to get the name
In This Topic
    GetCategoryName Method (CategoryRepository)
    In This Topic
    Gets name of a category given its Id
    Syntax
    public string GetCategoryName( 
       int categoryId
    )

    Parameters

    categoryId
    If of the category of which to get the name

    Return Value

    Name of the category or empty string if category is not found
    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