This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Checks if an item is a descendant of a given parent item.
Namespace: Smartsite.Tools
Assembly: Smartsite.Tools (in Smartsite.Tools.dll)
Syntax
C# | Copy Code |
---|---|
public virtual bool IsDescendantOf( int childNumber, int parentNumber ) |
Visual Basic (Declaration) | Copy Code |
---|---|
Public Overridable Function IsDescendantOf ( _ childNumber As Integer, _ parentNumber As Integer _ ) As |
Parameters
- childNumber
- Int32
Number of the item for which descendancy is tested
- parentNumber
- Int32
Number of the parent item
Return Value
true if the item is a descendant of the parent, false otherwiseSee Also
Tree Class
Smartsite.Tools Namespace