.netCHARTING v10.5 Documentation


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