Click or drag to resize

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.Data
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
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, Int32
Dictionary which contains the unique values of the source column as keys and the sorting index as value.
See Also