|
Constructs an instance of an FdoStringValue from another FdoDataValue.
- Parameters:
-
| src | Input the other FdoDataValue. Must be of one of the following types: FdoDataType_Boolean FdoDataType_Byte FdoDataType_Decimal FdoDataType_Double FdoDataType_Int16 FdoDataType_Int32 FdoDataType_Int64 FdoDataType_Single FdoDataType_String |
In all other cases, the src type is considered incompatible with this type. - Parameters:
-
| nullIfIncompatible | Input will determine what to do if the source value cannot be converted to this type: true - return NULL. false - throw an exception |
| shift | Input determines whether FdoFloat or FdoDouble values are allowed to shift when conversion to strings causes loss of precision. true - convert values allowing them to shift. false - behaviour depends on nullIfIncompatible: true - return NULL. false - throw an exception |
| truncate | Input for future use. There are currently no possible out of range src values. |
- Returns:
- Returns an FdoStringValue, whose value is converted from the src value. If src is an FdoStringValue then its value is simply copied to the returned FdoStringValue. Otherwise, the value is converted by calling src->ToString().
|