Version

RowNumber Property

Returns or sets a one-based integer value which describes this Task's ordinal position within the flattened out list of all tasks that belong to the same project.
Syntax
'Declaration
 
Public ReadOnly Property RowNumber As Integer
public int RowNumber {get;}
Remarks

As opposed to an index, which is zero-based, the RowNumber property is one-based. This is because it has exposure to the end user. The first member of the root Tasks collection returns a value of one.

While the task hierarchy is recursive by nature (i.e., descendants appear as members of a task's Tasks collection), this hierarchy is "flattened" out so as to be represented in a grid as a non-hierarchical list of rows. The RowNumber property returns the position of this task relative to the first root task.

In the case where this task is not associated with an UltraCalendarInfo, this property returns -1.

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