Version

Insert(Int32,SortableTaskField,SortOrder) Method

Inserts a member into the collection at the specified index.
Syntax
'Declaration
 
Public Overloads Sub Insert( _
   ByVal index As Integer, _
   ByVal field As SortableTaskField, _
   ByVal sortOrder As SortOrder _
) 
public void Insert( 
   int index,
   SortableTaskField field,
   SortOrder sortOrder
)

Parameters

index
Specifies the position within this collection at which to insert the field.
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