.netCHARTING v10.7 Documentation


dotnetCHARTING Namespace > Series Class > Sort Method : Sort(ElementValue,String,Int32,Int32) Method
ElementValue to sort by.
Takes "Desc" or "Asc" as inputs. If the string is not recognized "Asc" will be used.
Index at which sorting starts.
Index at which sorting stops.
Sort(ElementValue,String,Int32,Int32) Method
Sorts the Elements based on an element property and order from the start index to the end index.
Syntax
'Declaration
 
Public Overloads Sub Sort( _
   ByVal ev As ElementValue, _
   ByVal order As String, _
   ByVal startIndex As Integer, _
   ByVal endIndex As Integer _
) 
'Usage
 
Dim instance As Series
Dim ev As ElementValue
Dim order As String
Dim startIndex As Integer
Dim endIndex As Integer
 
instance.Sort(ev, order, startIndex, endIndex)

Parameters

ev
ElementValue to sort by.
order
Takes "Desc" or "Asc" as inputs. If the string is not recognized "Asc" will be used.
startIndex
Index at which sorting starts.
endIndex
Index at which sorting stops.
Requirements

Target Platforms: 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