Version

Level Property

Returns a zero-based integer which defines the level at which this Task resides within the hierarchy, where zero represents a root task. If the task does not belong to any collection, this property returns -1.
Syntax
'Declaration
 
Public ReadOnly Property Level As Integer
public int Level {get;}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also