Harness proD API Help
EPLAN.Harness.API.DataStructures Namespace / UserCategory Class / UserCategory Constructor
Category path (use '\' as separator to split sub-categories).
Example
In This Topic
    UserCategory Constructor
    In This Topic
    Create new instance of user category.
    Syntax
    public UserCategory( 
       string path
    )

    Parameters

    path
    Category path (use '\' as separator to split sub-categories).
    Exceptions
    ExceptionDescription
    Argument is null.
    Argument is invalid. The exception is thrown when a wrong argument is passed to the method or the setter of property.
    Remarks
    It is only a proposal of category. It only becomes an existing category after being assigning to a library part and saved.
    Example
    Creates new user category with only root element.
    LibraryCategory category = new UserCategory("Parts");
    Creates new user category with one sub-category.
    LibraryCategory category = new UserCategory(@"Parts\CategoryA");
    See Also