ColumnMathToEnumerable(ValueTupleDataColumn, DataColumn, Boolean) Method |
Converts a pair of data columns to an enumeration of pairs of
AltaxoVariants.
Namespace: Altaxo.DataAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static IEnumerable<(AltaxoVariant X, AltaxoVariant Y)> ToEnumerable(
this (DataColumn xCol, DataColumn yCol) columnTuple,
bool filterInvalidPairs
)
Parameters
- columnTuple ValueTupleDataColumn, DataColumn
- The two columns to convert.
- filterInvalidPairs Boolean
- If set to true, only pairs will yielded, for which both values are valid.
Return Value
IEnumerableValueTupleAltaxoVariant,
AltaxoVariantEnumeration 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 var e = (col["A"], col["B"]).ToEnumerable(true);
See Also