Holder.setValueStr

Same functionality as gda.holder.Holder.setValue except that it uses a string representation of the value to set, which will be converted into a GValue first (using default data handler if dh is null).

Note1: if value is null or is the "NULL" string, then holder's value is set to null. Note2: if holder can't accept the value value, then this method returns FALSE, and holder will be left in an invalid state.

class Holder
bool
setValueStr

Parameters

dh gda.data_handler.DataHandler

a #GdaDataHandler to use, or null

value string

a value to set the holder to, as a string

Return Value

Type: bool

TRUE if value has been set

Throws