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 the hierarchic depth of the given item.

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

Syntax

C#Copy imageCopy Code
[(Name = "{0}.Hierarchy.GetDepth")]
[(.Level0)]
public static <int> GetLevel(
	 reference
)
Visual Basic (Declaration)Copy imageCopy Code
<(Name := "{0}.Hierarchy.GetDepth")> _
<(.Level0)> _
Public Shared Function GetLevel ( _
	reference As  _
) As (Of Integer)

Parameters

reference
Locator
The reference.

Return Value

The hierarchic depth (level) of the specified item.

See Also

Advanced