Get a simple value from a ts_variant object into a variable.

Call:

ts_variant(int iVariant, "get_value_simple", bool/int/double/string value_ret);


Here:

iVariant - object handle of type ts_variant;

valut_ret is the name of the variable to which the value from the iVariant object should be rewritten.


Example.

Read the text value from the object specified by the iVariantParm handle and display it in the message window.


string s;
ts_variant(iVariantParm, "get_value_simple",s);
coutvar << s;