Click or drag to resize

AsciiLineCompositionIsCompatibleWith(AsciiColumnType, AsciiColumnType) Method

Determines whether the AsciiColumnTypea is compatible with b.

Namespace: Altaxo.Serialization.Ascii
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static bool IsCompatibleWith(
	AsciiColumnType a,
	AsciiColumnType b
)

Parameters

a  AsciiColumnType
First column type.
b  AsciiColumnType
Second column type.

Return Value

Boolean
True if AsciiColumnTypea is compatible with b, i.e. values of type a could be stored in columns of type b; otherwise, false.
Remarks

The column type DBNull is compatible to all other column types.

Since all numeric types will be stored in Double format, all numeric column types are compatible with each other.

See Also