Table of Contents

Method GetFieldBoolean

Namespace
YndigoBlue.Velocity.Model
Assembly
YndigoBlue.Velocity.dll

GetFieldBoolean(string)

Gets the value of a boolean field. Also converts from numeric (0/1), string ("true"/"false"), and decimal values.

public bool GetFieldBoolean(string fieldName)

Parameters

fieldName string

The column name.

Returns

bool

The boolean value.

Exceptions

Exception

Thrown when the field name is invalid or no boolean-compatible value can be found.