Table of Contents

Method GetFieldChar

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

GetFieldChar(string)

Gets the value of a CHAR field as a string. Also returns values stored as string, varchar, or geometry (as WKT).

public string GetFieldChar(string fieldName)

Parameters

fieldName string

The column name.

Returns

string

The character string value, or null if the field is SQL NULL.

Exceptions

Exception

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