Sort Method (SeriesCollection)
Sorts the Series based on an element property and order.
Syntax
'Declaration Public Sub Sort( _ ByVal ev As ElementValue, _ ByVal order As String _ )
'Usage Dim instance As SeriesCollection Dim ev As ElementValue Dim order As String instance.Sort(ev, order)
public void Sort( ElementValue ev, string order )
Parameters
- ev
- ElementValue to sort by.
- order
- Takes "Desc" or "Asc" as inputs. If the string is not recognized "Asc" will be used.
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