This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Get the level of the current parent, counted from the start item upward.

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

Syntax

C#Copy imageCopy Code
[(Name = "ParentLevel")]
public <int> GetParentLevel()
Visual Basic (Declaration)Copy imageCopy Code
<(Name := "ParentLevel")> _
Public Function GetParentLevel As (Of Integer)

Return Value

The level of the current parent.

See Also

Advanced