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)
public void Sort( ElementValue ev, string order, int startIndex, int 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