PRELIMINARY INFORMATION - SUBJECT TO CHANGE
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Returns true if the given item is a child of the given parent.

Namespace: Smartsite.Runtime.Modules
Assembly:  Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)

Syntax

C#Copy imageCopy Code
[(.Level0)]
[(Name = "{0}.Hierarchy.IsChildOf")]
public static <bool> IsDescendantOf(
	 child,
	 parent
)
Visual Basic (Declaration)Copy imageCopy Code
<(.Level0)> _
<(Name := "{0}.Hierarchy.IsChildOf")> _
Public Shared Function IsDescendantOf ( _
	child As , _
	parent As  _
) As (Of )

Parameters

child
Locator
Item reference to the child.
parent
Locator
Item reference to the parent.

Return Value

true if the specified item is a child of the specified parent, otherwise false.

See Also

Advanced