Share via


CatDisplayCategoryTable.isDescendantOfPerNSL Method

Indicates whether the record is a descendant of the given parentCategoryFromDB record.

Syntax

public boolean isDescendantOfPerNSL(CatDisplayCategoryTable _parentCategoryFromDB)

Run On

Called

Parameters

Return Value

Type: boolean
true if the record is a descendant of the given parentCategoryFromDB record; otherwise, false.

Remarks

The ParentCategory field on the record must not be used to check because it might have been changed.

The TreeLevel, NestedSetLeft and NestedSetRight fields on the record still have valid values and can be used for checking.

See Also

Reference

CatDisplayCategoryTable Table