Click or drag to resize

FieldKernelToDisplayText Method

Format the provided value as specified in the IAppContext, IField, and user preferences. This takes into account the IFieldNativeDbType, OleDbType, CellType, Format, etc. Note that the result will be formatted as it would be if the value were the field's Value and its display text were obtained via DisplayTextGet(DispTextFlags). This method is the inverse of ToValue(String, ValueConversionFlags).

Namespace:  NetQuarry.Data
Assembly:  EAP.Mapper (in EAP.Mapper.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public string ToDisplayText(
	Object val,
	ValueConversionFlags flags
)

Parameters

val
Type: SystemObject
The value to format.
flags
Type: NetQuarry.DataValueConversionFlags
Flags specifying how the conversion should be performed.

Return Value

Type: String
The dipslay text for the value.

Implements

IFieldToDisplayText(Object, ValueConversionFlags)
See Also