Version

Insert(Int32,String,SortOrder) Method

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

Parameters

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