Click or drag to resize

TransposingAreAllColumnsOfTheSameType Method

Tests whether or not all columns in this collection have the same type.

Namespace: Altaxo.Data
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static bool AreAllColumnsOfTheSameType(
	DataColumnCollection col,
	IContiguousIntegerRange selectedColumnIndices,
	out int firstdifferentcolumnindex
)

Parameters

col  DataColumnCollection
The column collection containing the columns to test.
selectedColumnIndices  IContiguousIntegerRange
The column indices of the columns to test.
firstdifferentcolumnindex  Int32
Out: returns the first column that has a different type from the first column

Return Value

Boolean
True if all selected columns are of the same type. True is also returned if the number of selected columns is zero.
See Also