Click or drag to resize

ColumnMathToEnumerable(ValueTupleDataColumn, DataColumn) Method

Converts a pair of data columns to an enumeration of pairs of AltaxoVariants.

Namespace: Altaxo.Data
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static IEnumerable<(AltaxoVariant X, AltaxoVariant Y)> ToEnumerable(
	this (DataColumn xCol, DataColumn yCol) columnTuple
)

Parameters

columnTuple  ValueTupleDataColumn, DataColumn
The two columns to convert.

Return Value

IEnumerableValueTupleAltaxoVariant, AltaxoVariant
Enumeration of pairs of AltaxoVariants.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ValueTupleDataColumn, DataColumn. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Example
C#
var e = (col["A"], col["B"]).ToEnumerable();
See Also