ExpandCyclingVariableColumnActionsGetUniqueValues Method |
Gets a dictionary which contains all unique values of a source column as keys. The value is the index according to the sorting.
The sorting is done using the default comparison.
Namespace: Altaxo.DataAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static SortedDictionary<AltaxoVariant, int> GetUniqueValues(
DataColumn src,
bool sortDescending
)
Parameters
- src DataColumn
- Source column.
- sortDescending Boolean
- If true, the sorting is done in descending order (instead of ascending order).
Return Value
SortedDictionaryAltaxoVariant,
Int32Dictionary which contains the unique values of the source column as keys and the sorting index as value.
See Also