Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Catalog Namespace / ICategoryRepository Interface / LoadForPath Method
A textual path of category names.
The character string that delimits category names in the path.
If true, the named category path will be created if it does not already exist. If false, null is returned if the path is not present.
In This Topic
    LoadForPath Method (ICategoryRepository)
    In This Topic
    Loads a category record given the named path.
    Syntax

    Parameters

    path
    A textual path of category names.
    delimiter
    The character string that delimits category names in the path.
    create
    If true, the named category path will be created if it does not already exist. If false, null is returned if the path is not present.

    Return Value

    The last category named in the path.
    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