Click or drag to resize

DataColumnCollectionIsColumnOfType Method

Check if the named column is of the expected type.

Namespace: Altaxo.Data
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public bool IsColumnOfType(
	string columnname,
	Type expectedtype
)

Parameters

columnname  String
Name of the column.
expectedtype  Type
Expected type of column.

Return Value

Boolean
True if the column exists and is exactly! of the expeced type. False otherwise.
See Also