Version

Add(String,SortOrder) Method

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

Parameters

key
Identifies the Task column 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