Version

Add(SortableTaskField,SortOrder) Method

Adds a member to the end of the collection
Syntax
'Declaration
 
Public Overloads Sub Add( _
   ByVal field As SortableTaskField, _
   ByVal sortOrder As SortOrder _
) 
public void Add( 
   SortableTaskField field,
   SortOrder sortOrder
)

Parameters

field
Identifies the Task field on which to sort.
sortOrder
Specifies whether the sort is ascending or descending. Note that specifying 'None' renders the corresponding field inapplicable for sorting, similar to removing it from the collection.
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