Click or drag to resize

RowCommandsGetTypeOfColumnForRowReplacement Method

Returns the type of column which is most appropriate for replacement of a data row.

Namespace: Altaxo.Data
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static Type GetTypeOfColumnForRowReplacement(
	this DataColumnCollection table,
	int rowIdx,
	IAscendingIntegerCollection selectedColumns
)

Parameters

table  DataColumnCollection
The table which contains the data row under investigation.
rowIdx  Int32
Index of the row under investigation.
selectedColumns  IAscendingIntegerCollection
Collection of columns which is accounted for the determination.

Return Value

Type
The type of column which is most appropriate for replacement of a data row. This is the type which has the topmost non-empty cells.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DataColumnCollection. 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