TransposingTransposeIsPossible Method |
Tests if the transpose of a table is possible.
Namespace: Altaxo.DataAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static bool TransposeIsPossible(
this DataTable table,
int numConvertedDataColumns,
out int indexOfProblematicColumn
)
Parameters
- table DataTable
- Table to test.
- numConvertedDataColumns Int32
- Number of data columns (beginning from index 0) that will be converted to property columns.
- indexOfProblematicColumn Int32
- On return, if transpose is not possible, will give the index of the first column which differs in type from the first transposed data column.
Return Value
BooleanTrue when the transpose is possible without problems, false otherwise.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
DataTable. 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).
See Also